# HG changeset patch # User Richard M. Stallman # Date 779673800 0 # Node ID b58e8634df8b4893a11c9e12dda05aabeef3c381 # Parent b7eb229e956b0042e383a9df257154f5340459d7 (removenullpaths, paths-force): Use name paths.h.tmp$$, which depends on the pid. diff -r b7eb229e956b -r b58e8634df8b Makefile.in --- a/Makefile.in Thu Sep 15 23:55:25 1994 +0000 +++ b/Makefile.in Fri Sep 16 00:03:20 1994 +0000 @@ -202,36 +202,36 @@ @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