mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-27 06:10:06 +08:00
configure: support DESTDIR for RPM packagers etc.
Suggested by Shlomi Fish
This commit is contained in:
parent
ec4a350620
commit
c93ddac9aa
15
configure
vendored
15
configure
vendored
@ -288,13 +288,14 @@ 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=$prefix" >> config.mak
|
||||
echo "bindir=$bindir" >> config.mak
|
||||
echo "tccdir=$tccdir" >> config.mak
|
||||
echo "libdir=$libdir" >> config.mak
|
||||
echo "includedir=$includedir" >> config.mak
|
||||
echo "mandir=$mandir" >> config.mak
|
||||
echo "docdir=$docdir" >> config.mak
|
||||
echo "prefix=\$(DESTDIR)$prefix" >> config.mak
|
||||
echo "bindir=\$(DESTDIR)$bindir" >> config.mak
|
||||
echo "tccdir=\$(DESTDIR)$tccdir" >> config.mak
|
||||
echo "libdir=\$(DESTDIR)$libdir" >> config.mak
|
||||
echo "includedir=\$(DESTDIR)$includedir" >> config.mak
|
||||
echo "mandir=\$(DESTDIR)$mandir" >> config.mak
|
||||
echo "docdir=\$(DESTDIR)$docdir" >> config.mak
|
||||
|
||||
echo "#define CONFIG_SYSROOT \"$sysroot\"" >> $TMPH
|
||||
echo "#define CONFIG_TCCDIR \"$tccdir\"" >> $TMPH
|
||||
echo "CC=$cc" >> config.mak
|
||||
|
Loading…
Reference in New Issue
Block a user