diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-20 17:26:56 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-20 17:26:56 (GMT) |
commit | 0a5b8de5e2e948398e76d937e15e0518945fc49b (patch) | |
tree | 35ed0e8c93c861b9799029eb84faf33131b78d3e /Doc/tools | |
parent | 19a0dba34211c4c97e23c5ca8220f4b377ffdf38 (diff) | |
download | cpython-0a5b8de5e2e948398e76d937e15e0518945fc49b.zip cpython-0a5b8de5e2e948398e76d937e15e0518945fc49b.tar.gz cpython-0a5b8de5e2e948398e76d937e15e0518945fc49b.tar.bz2 |
Modified the "sgml" and "xml" targets to stop if the sub-makes fail in
any subdirectory; don't continue with remaining subdirs.
Added "api", "ext", "lib", "mac", "ref", and "tut" targets to only do
submakes in those directories. This is just a lot easier to use than
to cd into the subdir and use make.rules directly.
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/sgmlconv/Makefile | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/Doc/tools/sgmlconv/Makefile b/Doc/tools/sgmlconv/Makefile index 23d4be0..7437933 100644 --- a/Doc/tools/sgmlconv/Makefile +++ b/Doc/tools/sgmlconv/Makefile @@ -15,22 +15,41 @@ SUBDIRS=api ext lib mac ref tut all: sgml .PHONY: sgml xml +.PHONY: $(SUBDIRS) sgml: for DIR in $(SUBDIRS) ; do \ (cd $$DIR; \ - $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) sgml) \ + $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) sgml) || exit $$?; \ done xml: for DIR in $(SUBDIRS) ; do \ (cd $$DIR; \ - $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) xml) \ + $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) xml) || exit $$?; \ done -tarball: +tarball: sgml tar cf - tools/sgmlconv */*.sgml | gzip -9 >sgml-1.5.2b1.tgz +api: + cd api; $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) + +ext: + cd ext; $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) + +lib: + cd lib; $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) + +mac: + cd mac; $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) + +ref: + cd ref; $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) + +tut: + cd tut; $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) + clean: for DIR in $(SUBDIRS) ; do \ (cd $$DIR; \ |