summaryrefslogtreecommitdiffstats
path: root/Doc/tools/sgmlconv
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-18 18:32:38 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-18 18:32:38 (GMT)
commit1ca78b6b70141062cbf30d0b53fe40afda2f2e85 (patch)
tree1ebda99c0f0313fa8e6772f65a965fdb96093fe0 /Doc/tools/sgmlconv
parent72182027a8642d21a507cac193e861ba10e0fa34 (diff)
downloadcpython-1ca78b6b70141062cbf30d0b53fe40afda2f2e85.zip
cpython-1ca78b6b70141062cbf30d0b53fe40afda2f2e85.tar.gz
cpython-1ca78b6b70141062cbf30d0b53fe40afda2f2e85.tar.bz2
Change the command lines to use a similar "phrasing" to that used in the
other documentation makefiles. This is probably not sufficient to run the conversion on Windows, but goes at least part way.
Diffstat (limited to 'Doc/tools/sgmlconv')
-rw-r--r--Doc/tools/sgmlconv/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/Doc/tools/sgmlconv/Makefile b/Doc/tools/sgmlconv/Makefile
index 30a846e..d222933 100644
--- a/Doc/tools/sgmlconv/Makefile
+++ b/Doc/tools/sgmlconv/Makefile
@@ -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