append(): Fixing the test for convertability after consultation with
[python/dscho.git] / Doc / tools / sgmlconv / Makefile
blobd222933e79d70fc34a0fd89e629036b37ce3db35
1 # Simple makefile to control XML generation for the entire document tree.
2 # This should be used from the top-level directory (Doc/), not the directory
3 # that actually contains this file:
5 # $ pwd
6 # .../Doc
7 # $ make -f tools/sgmlconv/Makefile
9 TOPDIR=.
10 TOOLSDIR=tools
12 SGMLRULES=../$(TOOLSDIR)/sgmlconv/make.rules
13 # The 'inst' and 'tut' directories break the conversion, so skip them for now.
14 SUBDIRS=api dist ext lib mac ref
15 SUBMAKE=$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR)
17 all: xml
19 .PHONY: esis xml
20 .PHONY: $(SUBDIRS)
22 xml:
23 for DIR in $(SUBDIRS) ; do \
24 (cd $$DIR && $(SUBMAKE) xml) || exit $$? ; done
26 esis:
27 for DIR in $(SUBDIRS) ; do \
28 (cd $$DIR && $(SUBMAKE) esis) || exit $$? ; done
30 esis1:
31 for DIR in $(SUBDIRS) ; do \
32 (cd $$DIR && $(SUBMAKE) esis1) || exit $$? ; done
34 tarball: xml
35 tar cf - tools/sgmlconv */*.xml | gzip -9 >xml-1.5.2b2.tgz
37 api:
38 cd api && $(SUBMAKE)
40 dist:
41 cd dist && $(SUBMAKE)
43 ext:
44 cd ext && $(SUBMAKE)
46 inst:
47 cd inst && $(SUBMAKE)
49 lib:
50 cd lib && $(SUBMAKE)
52 mac:
53 cd mac && $(SUBMAKE)
55 ref:
56 cd ref && $(SUBMAKE)
58 tut:
59 cd tut && $(SUBMAKE)
61 clean:
62 for DIR in $(SUBDIRS) ; do \
63 (cd $$DIR && $(SUBMAKE) clean) || exit $$? ; done
65 clobber:
66 for DIR in $(SUBDIRS) ; do \
67 (cd $$DIR && $(SUBMAKE) clobber) || exit $$? ; done