aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman1994-09-16 00:03:20 +0000
committerRichard M. Stallman1994-09-16 00:03:20 +0000
commit270cc80e38287c231c9d8a5e38c57f3cb015281e (patch)
tree4f1db07fe017a2f83f2048302f63989f9e3288eb /Makefile.in
parente7399dcc7256ba7bbde1491e68417f0804a60438 (diff)
downloademacs-270cc80e38287c231c9d8a5e38c57f3cb015281e.tar.gz
emacs-270cc80e38287c231c9d8a5e38c57f3cb015281e.zip
(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
202 @echo "Producing \`src/paths.h' from \`src/paths.h.in'." 202 @echo "Producing \`src/paths.h' from \`src/paths.h.in'."
203 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ 203 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
204 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ 204 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
205 sed < ${srcdir}/src/paths.h.in > paths.h.tmp \ 205 sed < ${srcdir}/src/paths.h.in > paths.h.tmp$$$$ \
206 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \ 206 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
207 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \ 207 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
208 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \ 208 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
209 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \ 209 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
210 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \ 210 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
211 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \ 211 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \
212 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') 212 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \
213 @${srcdir}/move-if-change paths.h.tmp src/paths.h 213 ${srcdir}/move-if-change paths.h.tmp$$$$ src/paths.h
214 214
215# For `make all', 215# For `make all',
216# we force the rebuilding of src/paths.h because the user might give 216# we force the rebuilding of src/paths.h because the user might give
217# make different values for the various directories. Since we use 217# make different values for the various directories. Since we use
218# move-if-change, src/paths.h only actually changes if the user did 218# move-if-change, src/paths.h only actually changes if the user did
219# something notable, so the only unnecessary work we do is in building 219# something notable, so the only unnecessary work we do is in building
220# paths.h.tmp, which isn't much. 220# paths.h.tmp$$$$, which isn't much.
221# Note that sed is not in /bin on 386bsd. 221# Note that sed is not in /bin on 386bsd.
222paths-force: FRC.src.paths.h 222paths-force: FRC.src.paths.h
223 @echo "Producing \`src/paths.h' from \`src/paths.h.in'." 223 @echo "Producing \`src/paths.h' from \`src/paths.h.in'."
224 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ 224 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
225 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ 225 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
226 sed < ${srcdir}/src/paths.h.in > paths.h.tmp \ 226 sed < ${srcdir}/src/paths.h.in > paths.h.tmp$$$$ \
227 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \ 227 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
228 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \ 228 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
229 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \ 229 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
230 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \ 230 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
231 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \ 231 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
232 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \ 232 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \
233 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') 233 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \
234 @${srcdir}/move-if-change paths.h.tmp src/paths.h 234 ${srcdir}/move-if-change paths.h.tmp$$$$ src/paths.h
235 235
236src: lib-src FRC.src src/paths.h 236src: lib-src FRC.src src/paths.h
237 237