File: Makefile

package info (click to toggle)
python2.1 2.1.3dfsg-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 38,028 kB
  • ctags: 64,228
  • sloc: python: 186,023; ansic: 184,754; xml: 43,435; sh: 12,381; makefile: 3,523; perl: 3,108; lisp: 2,460; cpp: 106; sed: 2
file content (67 lines) | stat: -rw-r--r-- 1,239 bytes parent folder | download | duplicates (7)
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
61
62
63
64
65
66
67
# Simple makefile to control XML 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=tools

SGMLRULES=../$(TOOLSDIR)/sgmlconv/make.rules
# The 'inst' directory breaks the conversion, so skip it for now.
SUBDIRS=api dist ext lib mac ref tut
SUBMAKE=$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR)

all:	xml

.PHONY: esis xml
.PHONY: $(SUBDIRS)

xml:
	for DIR in $(SUBDIRS) ; do \
	    (cd $$DIR; $(SUBMAKE) xml) || exit $$? ; done

esis:
	for DIR in $(SUBDIRS) ; do \
	    (cd $$DIR; $(SUBMAKE) esis) || exit $$? ; done

esis1:
	for DIR in $(SUBDIRS) ; do \
	    (cd $$DIR; $(SUBMAKE) esis1) || exit $$? ; done

tarball:  xml
	tar cf - tools/sgmlconv */*.xml | gzip -9 >xml-1.5.2b2.tgz

api:
	cd api; $(SUBMAKE)

dist:
	cd dist; $(SUBMAKE)

ext:
	cd ext; $(SUBMAKE)

inst:
	cd inst; $(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