~exarkun/pyopenssl/trunk

« back to all changes in this revision

Viewing changes to doc/tools/sgmlconv/Makefile

  • Committer: Jean-Paul Calderone
  • Date: 2011-09-11 19:49:43 UTC
  • mfrom: (156.3.22 sphinx-doc)
  • Revision ID: exarkun@divmod.com-20110911194943-ucaan2tzidk7ek5l
Convert the documentation from LaTeX/epytext to Sphinx/ReST

Show diffs side-by-side

added added

removed removed

Lines of Context:
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:
4
 
#
5
 
#  $ pwd
6
 
#  .../Doc
7
 
#  $ make -f tools/sgmlconv/Makefile
8
 
 
9
 
TOPDIR=.
10
 
TOOLSDIR=tools
11
 
 
12
 
SGMLRULES=../$(TOOLSDIR)/sgmlconv/make.rules
13
 
# The 'inst' directory breaks the conversion, so skip it for now.
14
 
SUBDIRS=api dist ext lib mac ref tut
15
 
SUBMAKE=$(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR)
16
 
 
17
 
all:    xml
18
 
 
19
 
.PHONY: esis xml
20
 
.PHONY: $(SUBDIRS)
21
 
 
22
 
xml:
23
 
        for DIR in $(SUBDIRS) ; do \
24
 
            (cd $$DIR; $(SUBMAKE) xml) || exit $$? ; done
25
 
 
26
 
esis:
27
 
        for DIR in $(SUBDIRS) ; do \
28
 
            (cd $$DIR; $(SUBMAKE) esis) || exit $$? ; done
29
 
 
30
 
esis1:
31
 
        for DIR in $(SUBDIRS) ; do \
32
 
            (cd $$DIR; $(SUBMAKE) esis1) || exit $$? ; done
33
 
 
34
 
tarball:  xml
35
 
        tar cf - tools/sgmlconv */*.xml | gzip -9 >xml-1.5.2b2.tgz
36
 
 
37
 
api:
38
 
        cd api; $(SUBMAKE)
39
 
 
40
 
dist:
41
 
        cd dist; $(SUBMAKE)
42
 
 
43
 
ext:
44
 
        cd ext; $(SUBMAKE)
45
 
 
46
 
inst:
47
 
        cd inst; $(SUBMAKE)
48
 
 
49
 
lib:
50
 
        cd lib; $(SUBMAKE)
51
 
 
52
 
mac:
53
 
        cd mac; $(SUBMAKE)
54
 
 
55
 
ref:
56
 
        cd ref; $(SUBMAKE)
57
 
 
58
 
tut:
59
 
        cd tut; $(SUBMAKE)
60
 
 
61
 
clean:
62
 
        for DIR in $(SUBDIRS) ; do \
63
 
            (cd $$DIR; $(SUBMAKE) clean) ; done
64
 
 
65
 
clobber:
66
 
        for DIR in $(SUBDIRS) ; do \
67
 
            (cd $$DIR; $(SUBMAKE) clobber) ; done