summaryrefslogtreecommitdiff
blob: eee7c45b55d525c4d346978cfb1eb0f1b1985d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- make.tmpl.in	2006-02-17 11:18:27.000000000 -0500
+++ make.tmpl.in	2006-08-22 16:48:28.000000000 -0400
@@ -20,22 +20,22 @@
 LD_DEPS += @LD_DEPS@
 SOFLAG += @SOFLAG@
 
 # Setup directory variables
 prefix = $(DESTDIR)@prefix@
-exec_prefix = $(DESTDIR)@exec_prefix@
+exec_prefix = @exec_prefix@
 bindir = @bindir@
 ifeq ("@KLIBC@", "no")
   libdir = @libdir@
   sbindir = @sbindir@
   includedir = @includedir@
-  infodir = @infodir@
-  mandir = @mandir@
+  infodir = $(DESTDIR)@infodir@
+  mandir = $(DESTDIR)@mandir@
 else
   libdir = $(DESTDIR)@KLIBC_LIB_DIR@
   sbindir = $(DESTDIR)@KLIBC_SBIN_DIR@
   includedir = $(DESTDIR)@KLIBC_INCLUDE_DIR@
-  infodir = @infodir@
-  mandir = @mandir@
+  infodir = $(DESTDIR)@infodir@
+  mandir = $(DESTDIR)@mandir@
 endif