aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-22 19:28:01 +0000
committerRichard M. Stallman1996-08-22 19:28:01 +0000
commit0a0dca737453cfbd50eb7e1d1fba13c1c0f1805a (patch)
tree99b600eb91f60257731a1103616b0f6b74889c82
parentae19c6f24c7161fb86a0df91910d0017ec86c72a (diff)
downloademacs-0a0dca737453cfbd50eb7e1d1fba13c1c0f1805a.tar.gz
emacs-0a0dca737453cfbd50eb7e1d1fba13c1c0f1805a.zip
(src/paths.h): Target deleted.
(paths-force): Delete all dependencies on this target but don't delete the target. (install): Depend on `all'.
-rw-r--r--Makefile.in43
1 files changed, 6 insertions, 37 deletions
diff --git a/Makefile.in b/Makefile.in
index 8524e5973c1..920149e2f43 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -197,12 +197,12 @@ SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile
197COPYDIR = ${srcdir}/etc ${srcdir}/lisp 197COPYDIR = ${srcdir}/etc ${srcdir}/lisp
198COPYDESTS = ${etcdir} ${lispdir} 198COPYDESTS = ${etcdir} ${lispdir}
199 199
200all: paths-force ${SUBDIR} 200all: ${SUBDIR}
201 201
202removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g' 202removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g'
203 203
204# Note that sed is not in /bin on 386bsd. 204# Generate paths.h from paths.in. This target is invoked by `configure'.
205src/paths.h: Makefile ${srcdir}/src/paths.in 205paths-force: FRC
206 @echo "Producing \`src/paths.h' from \`src/paths.in'." 206 @echo "Producing \`src/paths.h' from \`src/paths.in'."
207 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ 207 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
208 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ 208 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
@@ -217,38 +217,9 @@ src/paths.h: Makefile ${srcdir}/src/paths.in
217 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \ 217 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \
218 ${srcdir}/move-if-change paths.h.$$$$ src/paths.h 218 ${srcdir}/move-if-change paths.h.$$$$ src/paths.h
219 219
220# For `make all', 220src: lib-src FRC
221# we force the rebuilding of src/paths.h because the user might give
222# make different values for the various directories. Since we use
223# move-if-change, src/paths.h only actually changes if the user did
224# something notable, so the only unnecessary work we do is in building
225# paths.h.$$, which isn't much.
226# Note that sed is not in /bin on 386bsd.
227# We depend on src/paths.h here to prevent simultaneous execution of
228# that rule and this one, in a parallel make.
229# It is possible for paths.h to be updated twice--but that would happen anyway.
230paths-force: FRC src/paths.h
231 @echo "Producing \`src/paths.h' from \`src/paths.in'."
232 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
233 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
234 sed < ${srcdir}/src/paths.in > paths.h.$$$$ \
235 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
236 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
237 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
238 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
239 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
240 -e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \
241 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \
242 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \
243 ${srcdir}/move-if-change paths.h.$$$$ src/paths.h
244
245src: lib-src FRC src/paths.h
246 221
247# This ought to depend on src/paths.h, so that in parallel make 222lib-src: FRC
248# src/paths.h will be available for the compilations in lib-src.
249# But that causes trouble in `make install' if a different prefix
250# is specified at that time.
251lib-src: FRC src/paths.h
252 223
253.RECURSIVE: ${SUBDIR} 224.RECURSIVE: ${SUBDIR}
254 225
@@ -292,11 +263,9 @@ lwlib/Makefile: lwlib/Makefile.in config.status
292## place with their files read-only (perhaps because they are checked 263## place with their files read-only (perhaps because they are checked
293## into RCS). In order to make this safe, we make sure that the 264## into RCS). In order to make this safe, we make sure that the
294## source exists and is distinct from the destination. 265## source exists and is distinct from the destination.
295## We don't depend on `all', but rather on ${SUBDIR}, so that we won't
296## ever modify src/paths.h.
297### We do install-arch-indep first because 266### We do install-arch-indep first because
298### the executable needs the Lisp files and DOC file to work properly. 267### the executable needs the Lisp files and DOC file to work properly.
299install: ${SUBDIR} install-arch-indep install-arch-dep blessmail 268install: all install-arch-indep install-arch-dep blessmail
300 @true 269 @true
301 270
302### Install the executables that were compiled specifically for this machine. 271### Install the executables that were compiled specifically for this machine.