2000-11-22 12:54:20 -04:00
|
|
|
# Simple makefile to control XML generation for the entire document tree.
|
1999-01-14 14:13:59 -04:00
|
|
|
# This should be used from the top-level directory (Doc/), not the directory
|
|
|
|
# that actually contains this file:
|
|
|
|
#
|
|
|
|
# $ pwd
|
|
|
|
# .../Doc
|
|
|
|
# $ make -f tools/sgmlconv/Makefile
|
|
|
|
|
|
|
|
TOPDIR=.
|
1999-07-22 10:57:12 -03:00
|
|
|
TOOLSDIR=tools
|
1999-01-14 14:13:59 -04:00
|
|
|
|
|
|
|
SGMLRULES=../$(TOOLSDIR)/sgmlconv/make.rules
|
2001-07-18 15:32:38 -03:00
|
|
|
# The 'inst' and 'tut' directories break the conversion, so skip them for now.
|
|
|
|
SUBDIRS=api dist ext lib mac ref
|
1999-02-15 12:50:28 -04:00
|
|
|
SUBMAKE=$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR)
|
1999-01-14 14:13:59 -04:00
|
|
|
|
1999-07-22 10:57:12 -03:00
|
|
|
all: xml
|
1999-01-14 14:13:59 -04:00
|
|
|
|
2000-11-22 12:54:20 -04:00
|
|
|
.PHONY: esis xml
|
1999-01-20 13:26:56 -04:00
|
|
|
.PHONY: $(SUBDIRS)
|
1999-01-14 14:13:59 -04:00
|
|
|
|
|
|
|
xml:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
2001-07-18 15:32:38 -03:00
|
|
|
(cd $$DIR && $(SUBMAKE) xml) || exit $$? ; done
|
1999-02-15 12:50:28 -04:00
|
|
|
|
|
|
|
esis:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
2001-07-18 15:32:38 -03:00
|
|
|
(cd $$DIR && $(SUBMAKE) esis) || exit $$? ; done
|
1999-01-14 14:26:23 -04:00
|
|
|
|
2000-11-22 12:54:20 -04:00
|
|
|
esis1:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
2001-07-18 15:32:38 -03:00
|
|
|
(cd $$DIR && $(SUBMAKE) esis1) || exit $$? ; done
|
2000-11-22 12:54:20 -04:00
|
|
|
|
|
|
|
tarball: xml
|
|
|
|
tar cf - tools/sgmlconv */*.xml | gzip -9 >xml-1.5.2b2.tgz
|
1999-01-14 18:35:05 -04:00
|
|
|
|
1999-01-20 13:26:56 -04:00
|
|
|
api:
|
2001-07-18 15:32:38 -03:00
|
|
|
cd api && $(SUBMAKE)
|
1999-01-20 13:26:56 -04:00
|
|
|
|
2000-11-22 12:54:20 -04:00
|
|
|
dist:
|
2001-07-18 15:32:38 -03:00
|
|
|
cd dist && $(SUBMAKE)
|
2000-11-22 12:54:20 -04:00
|
|
|
|
1999-01-20 13:26:56 -04:00
|
|
|
ext:
|
2001-07-18 15:32:38 -03:00
|
|
|
cd ext && $(SUBMAKE)
|
1999-01-20 13:26:56 -04:00
|
|
|
|
2000-11-22 12:54:20 -04:00
|
|
|
inst:
|
2001-07-18 15:32:38 -03:00
|
|
|
cd inst && $(SUBMAKE)
|
2000-11-22 12:54:20 -04:00
|
|
|
|
1999-01-20 13:26:56 -04:00
|
|
|
lib:
|
2001-07-18 15:32:38 -03:00
|
|
|
cd lib && $(SUBMAKE)
|
1999-01-20 13:26:56 -04:00
|
|
|
|
|
|
|
mac:
|
2001-07-18 15:32:38 -03:00
|
|
|
cd mac && $(SUBMAKE)
|
1999-01-20 13:26:56 -04:00
|
|
|
|
|
|
|
ref:
|
2001-07-18 15:32:38 -03:00
|
|
|
cd ref && $(SUBMAKE)
|
1999-01-20 13:26:56 -04:00
|
|
|
|
|
|
|
tut:
|
2001-07-18 15:32:38 -03:00
|
|
|
cd tut && $(SUBMAKE)
|
1999-01-20 13:26:56 -04:00
|
|
|
|
1999-01-14 14:26:23 -04:00
|
|
|
clean:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
2001-07-18 15:32:38 -03:00
|
|
|
(cd $$DIR && $(SUBMAKE) clean) || exit $$? ; done
|
1999-01-14 14:26:23 -04:00
|
|
|
|
|
|
|
clobber:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
2001-07-18 15:32:38 -03:00
|
|
|
(cd $$DIR && $(SUBMAKE) clobber) || exit $$? ; done
|