diff options
author | Roland McGrath <roland@gnu.org> | 1993-09-12 10:49:30 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1993-09-12 10:49:30 +0000 |
commit | 1304c993d353bb7b75b41b79aaf16d89c93b9626 (patch) | |
tree | 8d4ff09a8908d6e20e698e209e6bcc666f938496 /Makefile.in | |
parent | acd399a1c7b8db2651f0e8458e3717a3de09b9e5 (diff) | |
download | emacs-1304c993d353bb7b75b41b79aaf16d89c93b9626.tar.gz |
(lib-src/Makefile, src/Makefile, oldXMenu/Makefile): Depend on vpath.sed.
Replace sed comand for VPATH with @vpath_sed@.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index 315f52a97c1..b6cfb14c550 100644 --- a/Makefile.in +++ b/Makefile.in @@ -240,7 +240,7 @@ ${SUBDIR}: ${SUBDIR_MAKEFILES} FRC ## edit the values for the path variables into them. This means that ## when the user has built them from this makefile once, they will use ## the right default values for the path variables. -lib-src/Makefile: ${srcdir}/lib-src/Makefile.in Makefile +lib-src/Makefile: ${srcdir}/lib-src/Makefile.in Makefile vpath.sed rm -f lib-src/Makefile.tmp @echo "Producing \`lib-src/Makefile' from \`${srcdir}/lib-src/Makefile.in'." @(echo "# This file is generated from \`${srcdir}/lib-src/Makefile.in'." ; \ @@ -248,6 +248,7 @@ lib-src/Makefile: ${srcdir}/lib-src/Makefile.in Makefile echo "# running \`make lib-src/Makefile' at the top of the" ; \ echo "# Emacs build tree instead, or editing" ; \ echo "# \`${srcdir}/lib-src/Makefile.in' itself." ; \ + subdir=lib-src; \ sed < ${srcdir}/lib-src/Makefile.in \ -e 's|^\(version *=\).*$$|\1'"${version}"'|' \ -e 's|^\(configname *=\).*$$|\1'"${configuration}"'|' \ @@ -255,7 +256,7 @@ lib-src/Makefile: ${srcdir}/lib-src/Makefile.in Makefile -e 's|^\(exec_prefix *=\).*$$|\1'"${exec_prefix}"'|' \ -e 's|^\(libdir *=\).*$$|\1'"${libdir}"'|' \ -e 's|^\(srcdir *=\).*$$|\1'"${srcdir}"'/lib-src|' \ - -e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'/lib-src|' \ + @vpath_sed@ \ -e 's|^\(archlibdir *=\).*$$|\1'"${archlibdir}"'|' \ -e 's|^\(ALLOCA *=\).*$$|\1'"${ALLOCA}"'|' \ -e 's|^\(YACC *=\).*$$|\1'"${YACC}"'|' \ @@ -267,7 +268,7 @@ lib-src/Makefile: ${srcdir}/lib-src/Makefile.in Makefile @${srcdir}/move-if-change lib-src/Makefile.tmp lib-src/Makefile chmod -w lib-src/Makefile -src/Makefile: ${srcdir}/src/Makefile.in Makefile +src/Makefile: ${srcdir}/src/Makefile.in Makefile vpath.sed rm -f src/Makefile.tmp @echo "Producing \`src/Makefile' from \`${srcdir}/src/Makefile.in'." @(echo "# This file is generated from \`${srcdir}/src/Makefile.in'." ; \ @@ -275,9 +276,10 @@ src/Makefile: ${srcdir}/src/Makefile.in Makefile echo "# running \`make src/Makefile' at the top of the" ; \ echo "# Emacs build tree instead, or editing" ; \ echo "# \`${srcdir}/src/Makefile.in' itself." ; \ + subdir=src; \ sed < ${srcdir}/src/Makefile.in \ -e 's|^\(srcdir *=\).*$$|\1${srcdir}/src|' \ - -e 's|^\(VPATH *=\).*$$|\1${srcdir}/src|' \ + @vpath_sed@ \ -e 's|^CC *=.*$$|CC=${CC}|' \ -e 's|^CPP *=.*$$|CPP=${CPP}|' \ -e 's|^LN_S *=.*$$|LN_S=${LN_S}|' \ @@ -288,7 +290,7 @@ src/Makefile: ${srcdir}/src/Makefile.in Makefile @${srcdir}/move-if-change src/Makefile.tmp src/Makefile chmod -w src/Makefile -oldXMenu/Makefile: ${srcdir}/oldXMenu/Makefile.in Makefile +oldXMenu/Makefile: ${srcdir}/oldXMenu/Makefile.in Makefile vpath.sed rm -f oldXMenu/Makefile.tmp @echo "Producing \`oldXMenu/Makefile' from \`${srcdir}/oldXMenu/Makefile.in'." @(echo "# This file is generated from \`${srcdir}/oldXMenu/Makefile.in'." ; \ @@ -296,9 +298,10 @@ oldXMenu/Makefile: ${srcdir}/oldXMenu/Makefile.in Makefile echo "# running \`make oldXMenu/Makefile' at the top of the" ; \ echo "# Emacs build tree instead, or editing" ; \ echo "# \`${srcdir}/oldXMenu/Makefile.in' itself." ; \ + subdir=oldXMenu; \ sed < ${srcdir}/oldXMenu/Makefile.in \ -e 's|^\(srcdir *=\).*$$|\1'"${srcdir}"'/oldXMenu|' \ - -e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'/oldXMenu|' \ + @vpath_sed@ \ -e 's|^\(C_SWITCH_X_SITE *=\).*$$|\1'"${C_SWITCH_X_SITE}"'|' \ -e 's|^CC *=.*$$|CC='"${CC}"'|' \ -e 's|^DEFS *=.*$$|DEFS='"${DEFS}"'|' \ |