aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2010-04-15 19:10:59 +0200
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2010-04-15 19:10:59 +0200
commit6d4166df61adf7513593d91bed12b7a9823d104d (patch)
treea739224d0e2d0eb31a11910be33c54af46b406ab /configure
parent8de9b7a6314a4e93e88518b0b2f0e084cbc448b0 (diff)
downloadtinycc-6d4166df61adf7513593d91bed12b7a9823d104d.tar.gz
tinycc-6d4166df61adf7513593d91bed12b7a9823d104d.tar.bz2
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 770ea70..c132957 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