Commit c9423f5e authored by Fred Drake's avatar Fred Drake

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