blob: a4daf13c09a2e9f1be6450993acc6491f26cb00d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# 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
SUBMAKE=$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR)
all: sgml
.PHONY: sgml xml
.PHONY: $(SUBDIRS)
sgml:
for DIR in $(SUBDIRS) ; do \
(cd $$DIR; $(SUBMAKE) sgml) || exit $$? ; done
xml:
for DIR in $(SUBDIRS) ; do \
(cd $$DIR; $(SUBMAKE) xml) || exit $$? ; done
esis:
for DIR in $(SUBDIRS) ; do \
(cd $$DIR; $(SUBMAKE) esis) || exit $$? ; done
tarball: sgml
tar cf - sgml tools/sgmlconv */*.sgml | gzip -9 >sgml-1.5.2b2.tgz
api:
cd api; $(SUBMAKE)
ext:
cd ext; $(SUBMAKE)
lib:
cd lib; $(SUBMAKE)
mac:
cd mac; $(SUBMAKE)
ref:
cd ref; $(SUBMAKE)
tut:
cd tut; $(SUBMAKE)
clean:
for DIR in $(SUBDIRS) ; do \
(cd $$DIR; $(SUBMAKE) clean) ; done
clobber:
for DIR in $(SUBDIRS) ; do \
(cd $$DIR; $(SUBMAKE) clobber) ; done
|