* Makefile.in (src/Makefile): Don't bother exiting single quotes
and entering double quotes to get the values of LD_SWITCH_X_SITE and the other make variables; make substitutes them in anyway.
This commit is contained in:
parent
cc2f3b6482
commit
804962796c
1 changed files with 7 additions and 7 deletions
14
Makefile.in
14
Makefile.in
|
@ -276,13 +276,13 @@ src/Makefile: ${srcdir}/src/Makefile.in Makefile
|
|||
echo "# Emacs build tree instead, or editing" ; \
|
||||
echo "# \`${srcdir}/src/Makefile.in' itself." ; \
|
||||
sed < ${srcdir}/src/Makefile.in \
|
||||
-e 's|^\(srcdir *=\).*$$|\1'"${srcdir}"'/src|' \
|
||||
-e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'/src|' \
|
||||
-e 's|^CC *=.*$$|CC='"${CC}"'|' \
|
||||
-e 's|^CPP *=.*$$|CPP='"${CPP}"'|' \
|
||||
-e 's|^LN_S *=.*$$|LN_S='"${LN_S}"'|' \
|
||||
-e 's|^CFLAGS *=.*$$|CFLAGS='"${CFLAGS}"'|' \
|
||||
-e 's|^\(LD_SWITCH_X_SITE *=\).*$$|\1'"${LD_SWITCH_X_SITE}"'|' \
|
||||
-e 's|^\(srcdir *=\).*$$|\1${srcdir}/src|' \
|
||||
-e 's|^\(VPATH *=\).*$$|\1${srcdir}/src|' \
|
||||
-e 's|^CC *=.*$$|CC=${CC}|' \
|
||||
-e 's|^CPP *=.*$$|CPP=${CPP}|' \
|
||||
-e 's|^LN_S *=.*$$|LN_S=${LN_S}|' \
|
||||
-e 's|^CFLAGS *=.*$$|CFLAGS=${CFLAGS}|' \
|
||||
-e 's|^\(LD_SWITCH_X_SITE *=\).*$$|\1${LD_SWITCH_X_SITE}|' \
|
||||
-e '/^# DIST: /d') > src/Makefile.tmp
|
||||
@${srcdir}/move-if-change src/Makefile.tmp src/Makefile
|
||||
chmod -w src/Makefile
|
||||
|
|
Loading…
Add table
Reference in a new issue