blob: 40714c2ca55be8b7fd4c9ea88153e940c0dfcb39 (
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
61
62
|
REF_VERSION = $(PYGOBJECT_MAJOR_VERSION).$(PYGOBJECT_MINOR_VERSION)
XMLFILES = \
reference/pygobject-introduction.xml \
reference/pygobject-classes.xml \
reference/pygobject-constants.xml \
reference/pygobject-ref.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
XSLFILES = \
xsl/common.xsl \
xsl/devhelp.xsl \
xsl/html.xsl \
xsl/pdf-style.xsl \
xsl/pdf.xsl \
xsl/ref-html-style.xsl
XSLdir = $(datadir)/pygobject/xsl
XSL_DATA = $(XSLFILES)
HTMLdir = $(datadir)/gtk-doc/html/pygobject
HTML_DATA = \
html/pygobject-introduction.html \
html/pygobject-reference-copyright.html \
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) reference/version.xml \
reference/builddate.xml
CLEANFILES = build_stamp $(HTML_DATA) reference/version.xml \
reference/builddate.xml
EXTRA_DIST = $(XMLFILES) $(XSLFILES) reference/version.xml.in
build_stamp: reference ${XMLFILES} ${XSLFILES}
python -c 'import datetime; print datetime.date.today()' \
> reference/builddate.xml
xsltproc --nonet --xinclude -o html/ \
--stringparam gtkdoc.bookname "pygobject" \
--stringparam gtkdoc.version ${REF_VERSION} \
xsl/ref-html-style.xsl reference/pygobject-ref.xml
touch $@
pdf: reference ${XMLFILES} ${XSLFILES}
xsltproc --nonet --xinclude -o pygobject-ref.fo xsl/pdf-style.xsl \
reference/pygobject-ref.xml
pdfxmltex pygobject-ref.fo >output </dev/null
|