diff options
Diffstat (limited to 'docs/Makefile.am')
| -rw-r--r-- | docs/Makefile.am | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index c4901f9..ac3da2a 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,19 +1,9 @@ -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-ref.xml \ reference/pygobject-functions.xml \ reference/pygobject-gboxed.xml \ reference/pygobject-ginterface.xml \ @@ -21,6 +11,17 @@ XMLFILES = \ 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)/devhelp/books/pygobject HTML_DATA = \ html/class-gobjectgboxed.html \ @@ -38,16 +39,17 @@ HTML_DATA = \ BUILT_SOURCES = build_stamp $(HTML_DATA) CLEANFILES = build_stamp $(HTML_DATA) +EXTRA_DIST = $(XMLFILES) $(XSLFILES) 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 + xsl/ref-html-style.xsl reference/pygobject-ref.xml touch $@ -pdf: reference ${XMLFILES} ${XSLFILES} - xsltproc --nonet --xinclude -o pygobject-ref.fo pdf-style.xsl \ +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 |
