1999-01-14 18:13:59 +00:00
|
|
|
# Simple makefile to control SGML generation for the entire document tree.
|
|
|
|
# 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=.
|
|
|
|
TOOLSDIR=$(TOPDIR)/tools
|
|
|
|
|
|
|
|
SGMLRULES=../$(TOOLSDIR)/sgmlconv/make.rules
|
|
|
|
SUBDIRS=api ext lib mac ref tut
|
1999-02-15 16:50:28 +00:00
|
|
|
SUBMAKE=$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR)
|
1999-01-14 18:13:59 +00:00
|
|
|
|
|
|
|
all: sgml
|
|
|
|
|
|
|
|
.PHONY: sgml xml
|
1999-01-20 17:26:56 +00:00
|
|
|
.PHONY: $(SUBDIRS)
|
1999-01-14 18:13:59 +00:00
|
|
|
|
|
|
|
sgml:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
1999-02-15 16:50:28 +00:00
|
|
|
(cd $$DIR; $(SUBMAKE) sgml) || exit $$? ; done
|
1999-01-14 18:13:59 +00:00
|
|
|
|
|
|
|
xml:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
1999-02-15 16:50:28 +00:00
|
|
|
(cd $$DIR; $(SUBMAKE) xml) || exit $$? ; done
|
|
|
|
|
|
|
|
esis:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
|
|
|
(cd $$DIR; $(SUBMAKE) esis) || exit $$? ; done
|
1999-01-14 18:26:23 +00:00
|
|
|
|
1999-01-20 17:26:56 +00:00
|
|
|
tarball: sgml
|
1999-02-15 16:50:28 +00:00
|
|
|
tar cf - sgml tools/sgmlconv */*.sgml | gzip -9 >sgml-1.5.2b2.tgz
|
1999-01-14 22:35:05 +00:00
|
|
|
|
1999-01-20 17:26:56 +00:00
|
|
|
api:
|
1999-02-15 16:50:28 +00:00
|
|
|
cd api; $(SUBMAKE)
|
1999-01-20 17:26:56 +00:00
|
|
|
|
|
|
|
ext:
|
1999-02-15 16:50:28 +00:00
|
|
|
cd ext; $(SUBMAKE)
|
1999-01-20 17:26:56 +00:00
|
|
|
|
|
|
|
lib:
|
1999-02-15 16:50:28 +00:00
|
|
|
cd lib; $(SUBMAKE)
|
1999-01-20 17:26:56 +00:00
|
|
|
|
|
|
|
mac:
|
1999-02-15 16:50:28 +00:00
|
|
|
cd mac; $(SUBMAKE)
|
1999-01-20 17:26:56 +00:00
|
|
|
|
|
|
|
ref:
|
1999-02-15 16:50:28 +00:00
|
|
|
cd ref; $(SUBMAKE)
|
1999-01-20 17:26:56 +00:00
|
|
|
|
|
|
|
tut:
|
1999-02-15 16:50:28 +00:00
|
|
|
cd tut; $(SUBMAKE)
|
1999-01-20 17:26:56 +00:00
|
|
|
|
1999-01-14 18:26:23 +00:00
|
|
|
clean:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
1999-02-15 16:50:28 +00:00
|
|
|
(cd $$DIR; $(SUBMAKE) clean) ; done
|
1999-01-14 18:26:23 +00:00
|
|
|
|
|
|
|
clobber:
|
|
|
|
for DIR in $(SUBDIRS) ; do \
|
1999-02-15 16:50:28 +00:00
|
|
|
(cd $$DIR; $(SUBMAKE) clobber) ; done
|