summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-16 00:03:20 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-16 00:03:20 +0000
commitb9bcf2352b111314be4b956c9d2893b5e07a92a3 (patch)
tree9f6c75bc8062c8ab9db8ee9cd2c8751091034e1c /Makefile.in
parent915a9759742e688245c28e2213ad30c9d053ba6c (diff)
downloademacs-b9bcf2352b111314be4b956c9d2893b5e07a92a3.tar.gz
(removenullpaths, paths-force):
Use name paths.h.tmp$$, which depends on the pid.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index 633ed44127e..a0fb80a4036 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -202,36 +202,36 @@ src/paths.h: Makefile ${srcdir}/src/paths.h.in
@echo "Producing \`src/paths.h' from \`src/paths.h.in'."
@(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
- sed < ${srcdir}/src/paths.h.in > paths.h.tmp \
+ sed < ${srcdir}/src/paths.h.in > paths.h.tmp$$$$ \
-e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
-e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
-e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
-e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
-e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
-e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \
- -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";')
- @${srcdir}/move-if-change paths.h.tmp src/paths.h
+ -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \
+ ${srcdir}/move-if-change paths.h.tmp$$$$ src/paths.h
# For `make all',
# we force the rebuilding of src/paths.h because the user might give
# make different values for the various directories. Since we use
# move-if-change, src/paths.h only actually changes if the user did
# something notable, so the only unnecessary work we do is in building
-# paths.h.tmp, which isn't much.
+# paths.h.tmp$$$$, which isn't much.
# Note that sed is not in /bin on 386bsd.
paths-force: FRC.src.paths.h
@echo "Producing \`src/paths.h' from \`src/paths.h.in'."
@(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
- sed < ${srcdir}/src/paths.h.in > paths.h.tmp \
+ sed < ${srcdir}/src/paths.h.in > paths.h.tmp$$$$ \
-e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
-e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
-e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
-e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
-e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
-e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \
- -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";')
- @${srcdir}/move-if-change paths.h.tmp src/paths.h
+ -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \
+ ${srcdir}/move-if-change paths.h.tmp$$$$ src/paths.h
src: lib-src FRC.src src/paths.h