aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-07-31 22:28:25 +0000
committerDave Love2002-07-31 22:28:25 +0000
commit806e5a533b679cb9b717666a9ae0155affcbdefa (patch)
tree490ec2907516209b897fce5a845b5bdcd659febe
parent5e384f3dd753bde7551908912786888c4d903462 (diff)
downloademacs-806e5a533b679cb9b717666a9ae0155affcbdefa.tar.gz
emacs-806e5a533b679cb9b717666a9ae0155affcbdefa.zip
(leim): Don't put PARALLEL in environment.
($(srcdir)/src/config.in, $(srcdir)/src/stamp-h.in): New. (install-arch-indep, install-arch-indep): Merge changes from trunk.
-rw-r--r--Makefile.in27
1 files changed, 19 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index cdeb42af2c1..4d95f791db4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -3,7 +3,7 @@
3# DIST: that first. 3# DIST: that first.
4 4
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6# 2000, 2001 Free Software Foundation, Inc. 6# 2000, 2001, 2002 Free Software Foundation, Inc.
7 7
8# This file is part of GNU Emacs. 8# This file is part of GNU Emacs.
9 9
@@ -210,8 +210,7 @@ EMACS = `echo emacs | sed '$(TRANSFORM)'`
210EMACSFULL = `echo emacs-${version} | sed '$(TRANSFORM)'` 210EMACSFULL = `echo emacs-${version} | sed '$(TRANSFORM)'`
211 211
212# Subdirectories to make recursively. `lisp' is not included 212# Subdirectories to make recursively. `lisp' is not included
213# because the compiled lisp files are part of the distribution 213# because the compiled lisp files are part of the distribution.
214# and you cannot remake them without installing Emacs first.
215# leim is not included because it needs special handling. 214# leim is not included because it needs special handling.
216SUBDIR = lib-src src 215SUBDIR = lib-src src
217 216
@@ -252,9 +251,9 @@ epaths-force: FRC
252# running more than 1 process in the leim directory, especially for 251# running more than 1 process in the leim directory, especially for
253# the $TIT files there. 252# the $TIT files there.
254leim: src ${SUBDIR_MAKEFILES} FRC 253leim: src ${SUBDIR_MAKEFILES} FRC
255 (export PARALLEL; PARALLEL=0; cd $@; $(MAKE) all $(MFLAGS) \ 254 cd $@; $(MAKE) PARALLEL=0 all $(MFLAGS) \
256 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ 255 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
257 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}') 256 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}'
258 257
259src: lib-src FRC 258src: lib-src FRC
260 259
@@ -280,6 +279,13 @@ config.status: ${srcdir}/configure
280${srcdir}/configure: configure.in 279${srcdir}/configure: configure.in
281 cd ${srcdir} && autoconf 280 cd ${srcdir} && autoconf
282 281
282$(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in
283 @true
284$(srcdir)/src/stamp-h.in: $(MAINT)
285 cd ${srcdir} && autoheader
286 rm -f $(srcdir)/src/stamp-h.in
287 echo timestamp > $(srcdir)/src/stamp-h.in
288
283src/Makefile: $(srcdir)/src/Makefile.in config.status 289src/Makefile: $(srcdir)/src/Makefile.in config.status
284 ./config.status 290 ./config.status
285 291
@@ -356,6 +362,9 @@ install-arch-dep: mkdir
356 362
357## Note that we copy DOC* and then delete DOC 363## Note that we copy DOC* and then delete DOC
358## as a workaround for a bug in tar on Ultrix 4.2. 364## as a workaround for a bug in tar on Ultrix 4.2.
365
366## If people complain about the h flag in tar command, take that out.
367## That flag is also used in leim/Makefile.in
359install-arch-indep: mkdir info 368install-arch-indep: mkdir info
360 -set ${COPYDESTS} ; \ 369 -set ${COPYDESTS} ; \
361 unset CDPATH; \ 370 unset CDPATH; \
@@ -377,6 +386,7 @@ install-arch-indep: mkdir info
377 (cd $${dir}; tar -chf - . ) \ 386 (cd $${dir}; tar -chf - . ) \
378 | (cd $${dest}; umask 022; \ 387 | (cd $${dest}; umask 022; \
379 tar -xvf - && cat > /dev/null) || exit 1; \ 388 tar -xvf - && cat > /dev/null) || exit 1; \
389 find $${dest} -exec chown $$LOGNAME {} ';' ;\
380 for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ 390 for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \
381 chmod a+rx $${subdir} ; \ 391 chmod a+rx $${subdir} ; \
382 rm -rf $${subdir}/RCS ; \ 392 rm -rf $${subdir}/RCS ; \
@@ -414,8 +424,8 @@ install-arch-indep: mkdir info
414 then \ 424 then \
415 echo "Copying etc/DOC-* to ${docdir} ..." ; \ 425 echo "Copying etc/DOC-* to ${docdir} ..." ; \
416 (cd ./etc; tar -chf - DOC*) \ 426 (cd ./etc; tar -chf - DOC*) \
417 |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \ 427 |(cd ${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
418 (cd $(docdir); chmod a+r DOC*; rm DOC); \ 428 (cd $(docdir); chown $${LOGNAME} DOC*; chmod a+r DOC*; rm DOC); \
419 else true; fi 429 else true; fi
420 -unset CDPATH; \ 430 -unset CDPATH; \
421 if [ -r ./lisp ] \ 431 if [ -r ./lisp ] \
@@ -425,7 +435,8 @@ install-arch-indep: mkdir info
425 then \ 435 then \
426 echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ 436 echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
427 (cd lisp; tar -chf - *.el *.elc) \ 437 (cd lisp; tar -chf - *.el *.elc) \
428 |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \ 438 |(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
439 (cd ${lispdir}; find . -exec chown $${LOGNAME} {} ';') ; \
429 else true; fi 440 else true; fi
430 -unset CDPATH; \ 441 -unset CDPATH; \
431 thisdir=`/bin/pwd`; \ 442 thisdir=`/bin/pwd`; \