mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
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
This commit is contained in:
parent
8de9b7a631
commit
6d4166df61
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user