[lvm-devel] [PATCH 1/3] Hotfix: $(datarootdir) has already $(DESTDIR)

Zdenek Kabelac zkabelac at redhat.com
Thu Apr 15 09:40:03 UTC 2010


FIXME: We should use DESTDIR only for $(INSTALL) commands to allow
user-override of commonly known variables and still be able
to honor $(DESTDIR).

Signed-off-by: Zdenek Kabelac <zkabelac at redhat.com>
---
 make.tmpl.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/make.tmpl.in b/make.tmpl.in
index 87e8505..a6b00fc 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -57,8 +57,8 @@ usrlibdir = $(DESTDIR)@usrlibdir@
 sbindir = $(DESTDIR)@sbindir@
 usrsbindir = $(DESTDIR)@usrsbindir@
 datarootdir = $(DESTDIR)@datarootdir@
-infodir = $(DESTDIR)@infodir@
-mandir = $(DESTDIR)@mandir@
+infodir = $(datarootdir)/info
+mandir = $(datarootdir)/man
 localedir = $(DESTDIR)@LOCALEDIR@
 staticdir = $(DESTDIR)@STATICDIR@
 udevdir = $(DESTDIR)@udevdir@
-- 
1.7.0.1




More information about the lvm-devel mailing list