]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Change the command lines to use a similar "phrasing" to that used in the
authorFred Drake <fdrake@acm.org>
Wed, 18 Jul 2001 18:32:38 +0000 (18:32 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 18 Jul 2001 18:32:38 +0000 (18:32 +0000)
other documentation makefiles.  This is probably not sufficient to run
the conversion on Windows, but goes at least part way.

Doc/tools/sgmlconv/Makefile

index 30a846ee32c28cb55aec515b6c90f6bc6fd84437..d222933e79d70fc34a0fd89e629036b37ce3db35 100644 (file)
@@ -10,8 +10,8 @@ TOPDIR=.
 TOOLSDIR=tools
 
 SGMLRULES=../$(TOOLSDIR)/sgmlconv/make.rules
-# The 'inst' directory breaks the conversion, so skip it for now.
-SUBDIRS=api dist ext lib mac ref tut
+# The 'inst' and 'tut' directories break the conversion, so skip them for now.
+SUBDIRS=api dist ext lib mac ref
 SUBMAKE=$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR)
 
 all:   xml
@@ -21,47 +21,47 @@ all:        xml
 
 xml:
        for DIR in $(SUBDIRS) ; do \
-           (cd $$DIR; $(SUBMAKE) xml) || exit $$? ; done
+           (cd $$DIR && $(SUBMAKE) xml) || exit $$? ; done
 
 esis:
        for DIR in $(SUBDIRS) ; do \
-           (cd $$DIR; $(SUBMAKE) esis) || exit $$? ; done
+           (cd $$DIR && $(SUBMAKE) esis) || exit $$? ; done
 
 esis1:
        for DIR in $(SUBDIRS) ; do \
-           (cd $$DIR; $(SUBMAKE) esis1) || exit $$? ; done
+           (cd $$DIR && $(SUBMAKE) esis1) || exit $$? ; done
 
 tarball:  xml
        tar cf - tools/sgmlconv */*.xml | gzip -9 >xml-1.5.2b2.tgz
 
 api:
-       cd api; $(SUBMAKE)
+       cd api && $(SUBMAKE)
 
 dist:
-       cd dist; $(SUBMAKE)
+       cd dist && $(SUBMAKE)
 
 ext:
-       cd ext; $(SUBMAKE)
+       cd ext && $(SUBMAKE)
 
 inst:
-       cd inst; $(SUBMAKE)
+       cd inst && $(SUBMAKE)
 
 lib:
-       cd lib; $(SUBMAKE)
+       cd lib && $(SUBMAKE)
 
 mac:
-       cd mac; $(SUBMAKE)
+       cd mac && $(SUBMAKE)
 
 ref:
-       cd ref; $(SUBMAKE)
+       cd ref && $(SUBMAKE)
 
 tut:
-       cd tut; $(SUBMAKE)
+       cd tut && $(SUBMAKE)
 
 clean:
        for DIR in $(SUBDIRS) ; do \
-           (cd $$DIR; $(SUBMAKE) clean) ; done
+           (cd $$DIR && $(SUBMAKE) clean) || exit $$? ; done
 
 clobber:
        for DIR in $(SUBDIRS) ; do \
-           (cd $$DIR; $(SUBMAKE) clobber) ; done
+           (cd $$DIR && $(SUBMAKE) clobber) || exit $$? ; done