diff options
| author | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2010-04-15 19:10:59 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2010-04-15 19:10:59 +0200 |
| commit | 6d4166df61adf7513593d91bed12b7a9823d104d (patch) | |
| tree | a739224d0e2d0eb31a11910be33c54af46b406ab | |
| parent | 8de9b7a6314a4e93e88518b0b2f0e084cbc448b0 (diff) | |
| download | tinycc-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
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
