1 REF_VERSION = $(PYGOBJECT_MAJOR_VERSION).$(PYGOBJECT_MINOR_VERSION)
2 FULL_VERSION = $(REF_VERSION).$(PYGOBJECT_MICRO_VERSION)
4 BUILDDIR = $(top_builddir)/docs
9 html/class-gobjectgboxed.html \
10 html/class-gobjectginterface.html \
11 html/class-gobjectgpointer.html \
12 html/class-gobject.html \
13 html/class-glibmaincontext.html \
14 html/class-glibmainloop.html \
15 html/glib-constants.html \
16 html/glib-functions.html \
17 html/gobject-class-reference.html \
18 html/glib-class-reference.html \
19 html/class-gioapplaunchcontext.html \
20 html/class-gioappinfo.html \
21 html/class-gioasyncresult.html \
22 html/class-giobufferedinputstream.html \
23 html/class-giobufferedoutputstream.html \
24 html/class-giocancellable.html \
25 html/class-giodatainputstream.html \
26 html/class-giodataoutputstream.html \
27 html/class-giodrive.html \
28 html/class-gioemblem.html \
29 html/class-gioemblemedicon.html \
30 html/class-giofile.html \
31 html/class-giofileattributeinfo.html \
32 html/class-giofileenumerator.html \
33 html/class-giofileicon.html \
34 html/class-giofileinfo.html \
35 html/class-giofileinputstream.html \
36 html/class-giofilemonitor.html \
37 html/class-giofileoutputstream.html \
38 html/class-giofilterinputstream.html \
39 html/class-giofilteroutputstream.html \
40 html/class-gioicon.html \
41 html/class-gioinputstream.html \
42 html/class-gioloadableicon.html \
43 html/class-giomemoryinputstream.html \
44 html/class-giomemoryoutputstream.html \
45 html/class-giomount.html \
46 html/class-giomountoperation.html \
47 html/class-giooutputstream.html \
48 html/class-gioseekable.html \
49 html/class-giosimpleasyncresult.html \
50 html/class-giothemedicon.html \
51 html/class-giounixinputstream.html \
52 html/class-giounixoutputstream.html \
53 html/class-giovolume.html \
54 html/class-giovolumemonitor.html \
55 html/gio-constants.html \
56 html/gio-functions.html \
57 html/gio-class-reference.html \
58 html/giounix-class-reference.html \
59 html/gobject-constants.html \
60 html/gobject-functions.html \
63 html/pygobject.devhelp \
64 html/pygobject-introduction.html
68 reference/pygobject.xml \
69 reference/pygobject-introduction.xml \
70 reference/pygobject-classes.xml \
71 reference/pygobject-constants.xml \
72 reference/pygobject-ref.xml \
73 reference/pygobject-functions.xml \
74 reference/pygobject-gboxed.xml \
75 reference/pygobject-ginterface.xml \
76 reference/pygobject-gpointer.xml \
77 reference/pyglib-classes.xml \
78 reference/pyglib-constants.xml \
79 reference/pyglib-functions.xml \
80 reference/pyglib-maincontext.xml \
81 reference/pyglib-mainloop.xml \
82 reference/pygio-classes.xml \
83 reference/pygiounix-classes.xml \
84 reference/pygio-constants.xml \
85 reference/pygio-functions.xml \
86 reference/pygio-applaunchcontext.xml \
87 reference/pygio-appinfo.xml \
88 reference/pygio-asyncresult.xml \
89 reference/pygio-bufferedinputstream.xml \
90 reference/pygio-bufferedoutputstream.xml \
91 reference/pygio-cancellable.xml \
92 reference/pygio-datainputstream.xml \
93 reference/pygio-dataoutputstream.xml \
94 reference/pygio-drive.xml \
95 reference/pygio-emblem.xml \
96 reference/pygio-emblemedicon.xml \
97 reference/pygio-file.xml \
98 reference/pygio-fileattributeinfo.xml \
99 reference/pygio-fileenumerator.xml \
100 reference/pygio-fileicon.xml \
101 reference/pygio-fileinfo.xml \
102 reference/pygio-fileinputstream.xml \
103 reference/pygio-filemonitor.xml \
104 reference/pygio-fileoutputstream.xml \
105 reference/pygio-filterinputstream.xml \
106 reference/pygio-filteroutputstream.xml \
107 reference/pygio-icon.xml \
108 reference/pygio-inputstream.xml \
109 reference/pygio-loadableicon.xml \
110 reference/pygio-memoryinputstream.xml \
111 reference/pygio-memoryoutputstream.xml \
112 reference/pygio-mount.xml \
113 reference/pygio-mountoperation.xml \
114 reference/pygio-outputstream.xml \
115 reference/pygio-seekable.xml \
116 reference/pygio-simpleasyncresult.xml \
117 reference/pygio-themedicon.xml \
118 reference/pygio-unixinputstream.xml \
119 reference/pygio-unixoutputstream.xml \
120 reference/pygio-volume.xml \
121 reference/pygio-volumemonitor.xml
129 xsl/ref-html-style.xsl
131 # fixxref cannot be included in XSL_FILES, because automake is touching it
132 # so the date is newer then the files in HTML_FILES
133 FIXXREF = xsl/fixxref.py
135 TARGET_DIR = $(datadir)/gtk-doc/html/pygobject
136 CSSdir = $(TARGET_DIR)
137 CSS_DATA = $(CSS_FILES)
141 installfiles=`echo $(srcdir)/html/*`; \
142 if test "$$installfiles" = '$(srcdir)/html/*'; \
143 then echo '-- Nothing to install' ; \
145 $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \
146 for i in $$installfiles; do \
147 echo '-- Installing '$$i ; \
148 $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
150 echo '-- Installing $(srcdir)/html/index.sgml' ; \
151 $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
155 rm -f $(DESTDIR)$(TARGET_DIR)/*
158 XSLdir = $(datadir)/pygobject/xsl
159 XSL_DATA = $(XSL_FILES) $(FIXXREF)
168 reference/builddate.xml:
169 @$(PYTHON) -c 'import datetime; print datetime.date.today()' > $@
174 BUILT_SOURCES = reference/builddate.xml $(HTML_FILES)
175 CLEANFILES = reference/builddate.xml $(HTML_FILES)
178 # Do not add a builddate.xml dependency here, because the generated html
179 # documentation will be included in the tarball so xsltproc is not needed to
180 # install the documentation. Adding a builddate.xml dependency will force
181 # the documentation to be rebuilt when it doesn't need to be.
182 $(HTML_FILES): $(XML_FILES) $(XSL_FILES)
183 @xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \
184 --path $(BUILDDIR)/reference:$(srcdir)/reference \
185 --stringparam gtkdoc.bookname "pygobject" \
186 --stringparam gtkdoc.version ${REF_VERSION} \
187 $(srcdir)/xsl/ref-html-style.xsl \
188 $(srcdir)/reference/pygobject-ref.xml
190 # pdf: $(REFERENCE_DEPS) reference/builddate.xml
191 # xsltproc --nonet --xinclude -o pygobject-ref.fo xsl/pdf-style.xsl \
192 # reference/pygobject-ref.xml
193 # pdfxmltex pygobject-ref.fo >output </dev/null
197 -include $(top_srcdir)/git.mk