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