blob: c4901f96b9a4bc1c1f67e9dd0ebae95e75373fb5 (
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
|
SUBDIRS =
REF_VERSION = $(PYGOBJECT_MAJOR_VERSION).$(PYGOBJECT_MINOR_VERSION)
XSLFILES = \
common.xsl \
devhelp.xsl \
html.xsl \
ref-html-style.xsl \
pdf-style.xsl \
pdf.xsl
XMLFILES = \
reference/pygobject-ref.xml \
reference/pygobject-classes.xml \
reference/pygobject-constants.xml \
reference/pygobject-functions.xml \
reference/pygobject-gboxed.xml \
reference/pygobject-ginterface.xml \
reference/pygobject-gpointer.xml \
reference/pygobject-maincontext.xml \
reference/pygobject-mainloop.xml
HTMLdir = $(datadir)/devhelp/books/pygobject
HTML_DATA = \
html/class-gobjectgboxed.html \
html/class-gobjectginterface.html \
html/class-gobjectgpointer.html \
html/class-gobject.html \
html/class-gobjectmaincontext.html \
html/class-gobjectmainloop.html \
html/gobject-class-reference.html \
html/gobject-constants.html \
html/gobject-functions.html \
html/index.html \
html/index.sgml \
html/pygobject.devhelp
BUILT_SOURCES = build_stamp $(HTML_DATA)
CLEANFILES = build_stamp $(HTML_DATA)
build_stamp: reference ${XMLFILES} ${XSLFILES}
xsltproc --nonet --xinclude -o html/ \
--stringparam gtkdoc.bookname "pygobject" \
--stringparam gtkdoc.version ${REF_VERSION} \
ref-html-style.xsl reference/pygobject-ref.xml
touch $@
pdf: reference ${XMLFILES} ${XSLFILES}
xsltproc --nonet --xinclude -o pygobject-ref.fo pdf-style.xsl \
reference/pygobject-ref.xml
pdfxmltex pygobject-ref.fo >output </dev/null
|