Commit 1d11dd74 by H.J. Lu Committed by Jim Wilson

Patch to fix parallel makes from H.J. Lu.

	* Makefile (all): Remove sub-all.
	(stmp-sub-all): New target. Renamed from sub-all.
	(info, texinfo): Also depend on stmp-sub-all.
	(clean): Also remove stmp*.
	(maintainer-clean): New target. Same as realclean.

From-SVN: r15263
parent 2c3c65d7
Tue Sep 9 23:16:35 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* Makefile (all): Remove sub-all.
(stmp-sub-all): New target. Renamed from sub-all.
(info, texinfo): Also depend on stmp-sub-all.
(clean): Also remove stmp*.
(maintainer-clean): New target. Same as realclean.
Fri Sep 5 09:07:33 1997 Jeffrey A Law (law@cygnus.com) Fri Sep 5 09:07:33 1997 Jeffrey A Law (law@cygnus.com)
* install-sh: Delete duplicate install script. * install-sh: Delete duplicate install script.
......
# Makefile for Texinfo distribution. # Makefile for Texinfo distribution.
# $Id: Makefile.in,v 1.1.1.1 1997/08/21 22:57:51 jason Exp $ # $Id: Makefile.in,v 1.2 1997/09/03 04:25:21 law Exp $
# #
# Copyright (C) 1993, 96 Free Software Foundation, Inc. # Copyright (C) 1993, 96 Free Software Foundation, Inc.
...@@ -80,7 +80,7 @@ MDEFINES = bindir='$(bindir)' mandir='$(mandir)' manext='$(manext)' \ ...@@ -80,7 +80,7 @@ MDEFINES = bindir='$(bindir)' mandir='$(mandir)' manext='$(manext)' \
INSTALL='$(INSTALL)' INSTALL_DATA='$(INSTALL_DATA)' \ INSTALL='$(INSTALL)' INSTALL_DATA='$(INSTALL_DATA)' \
INSTALL_PROGRAM='$(INSTALL_PROGRAM)' INSTALL_PROGRAM='$(INSTALL_PROGRAM)'
all: sub-all texinfo all: texinfo
check: check:
installcheck: installcheck:
...@@ -98,18 +98,26 @@ config.status: configure ...@@ -98,18 +98,26 @@ config.status: configure
#configure: configure.in #configure: configure.in
# cd $(srcdir) && autoconf # cd $(srcdir) && autoconf
sub-all TAGS: TAGS:
for dir in $(SUBDIRS); do \ for dir in $(SUBDIRS); do \
echo making $@ in $$dir; \ echo making $@ in $$dir; \
(cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \ (cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \
done done
.PHONY: sub-all
stmp-sub-all:
-rm -f stmp-sub-all
for dir in $(SUBDIRS); do \
echo making sub-all in $$dir; \
(cd $$dir && $(MAKE) $(MDEFINES) sub-all || exit 1); \
done
touch stmp-sub-all
clean mostlyclean: clean mostlyclean:
for dir in $(SUBDIRS); do \ for dir in $(SUBDIRS); do \
echo making $@ in $$dir; \ echo making $@ in $$dir; \
(cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \ (cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \
done done
-rm -f stmp*
distclean: clean texclean distclean: clean texclean
for dir in $(SUBDIRS); do \ for dir in $(SUBDIRS); do \
...@@ -122,11 +130,11 @@ texclean: ...@@ -122,11 +130,11 @@ texclean:
$(RM) *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs $(RM) *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs
$(RM) *.toc *.tp *.tps *.vr *.vrs $(RM) *.toc *.tp *.tps *.vr *.vrs
realclean: distclean realclean maintainer-clean: distclean
# Let's hope we weren't cross-compiling. # Let's hope we weren't cross-compiling.
# If we depend on sub-all, this always gets remade. Annoying. # If we depend on sub-all, this always gets remade. Annoying.
info texinfo: texinfo.texi info texinfo: texinfo.texi stmp-sub-all
./makeinfo/makeinfo$(EXEEXT) -I$(srcdir) texinfo.texi ./makeinfo/makeinfo$(EXEEXT) -I$(srcdir) texinfo.texi
.PHONY: info .PHONY: info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment