From 6d4166df61adf7513593d91bed12b7a9823d104d Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 15 Apr 2010 19:10:59 +0200 Subject: [PATCH] Don't prefix $prefix with $(DESTDIR) in configure Prefixing $prefix with $(DESTDIR) is an error as it could lead for example to mandir being equal to $(DESTDIR)$prefix/man where $prefix itself is equal to $(DESTDIR)/usr/local which make man be equal to $(DESTDIR)$(DESTDIR)/usr/local/man --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 770ea702..c1329574 100755 --- a/configure +++ b/configure @@ -290,7 +290,7 @@ echo "Creating config.mak and config.h" echo "# Automatically generated by configure - do not modify" > config.mak echo "/* Automatically generated by configure - do not modify */" > $TMPH -echo "prefix=\$(DESTDIR)$prefix" >> config.mak +echo "prefix=$prefix" >> config.mak echo "bindir=\$(DESTDIR)$bindir" >> config.mak echo "tccdir=\$(DESTDIR)$tccdir" >> config.mak echo "libdir=\$(DESTDIR)$libdir" >> config.mak -- 2.11.4.GIT