summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2006-07-13 14:28:18 +0000
committerJohan Dahlin <johan@src.gnome.org>2006-07-13 14:28:18 +0000
commitf80b6b9f96a027d926c9ee3d31f0ca8eb05272bf (patch)
tree896020f44da01537e545ae636f6bca0ff0c1e7d8
parente42d69c953858ed0a4b93cd346aa01e733c8a6ff (diff)
downloadpygobject-f80b6b9f96a027d926c9ee3d31f0ca8eb05272bf.tar.gz
pygobject-f80b6b9f96a027d926c9ee3d31f0ca8eb05272bf.tar.xz
pygobject-f80b6b9f96a027d926c9ee3d31f0ca8eb05272bf.zip
Move xsl to a separate directory, install them and include a few more things in the tarball
-rw-r--r--docs/Makefile.am30
-rw-r--r--docs/xsl/common.xsl (renamed from docs/common.xsl)0
-rw-r--r--docs/xsl/devhelp.xsl (renamed from docs/devhelp.xsl)0
-rw-r--r--docs/xsl/html.xsl (renamed from docs/html.xsl)0
-rw-r--r--docs/xsl/pdf-style.xsl (renamed from docs/pdf-style.xsl)0
-rw-r--r--docs/xsl/pdf.xsl (renamed from docs/pdf.xsl)0
-rw-r--r--docs/xsl/ref-html-style.xsl (renamed from docs/ref-html-style.xsl)0
7 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
diff --git a/docs/common.xsl b/docs/xsl/common.xsl
index cb4a7d2..cb4a7d2 100644
--- a/docs/common.xsl
+++ b/docs/xsl/common.xsl
diff --git a/docs/devhelp.xsl b/docs/xsl/devhelp.xsl
index b329a4c..b329a4c 100644
--- a/docs/devhelp.xsl
+++ b/docs/xsl/devhelp.xsl
diff --git a/docs/html.xsl b/docs/xsl/html.xsl
index 350f183..350f183 100644
--- a/docs/html.xsl
+++ b/docs/xsl/html.xsl
diff --git a/docs/pdf-style.xsl b/docs/xsl/pdf-style.xsl
index d4a8e02..d4a8e02 100644
--- a/docs/pdf-style.xsl
+++ b/docs/xsl/pdf-style.xsl
diff --git a/docs/pdf.xsl b/docs/xsl/pdf.xsl
index 013bfd0..013bfd0 100644
--- a/docs/pdf.xsl
+++ b/docs/xsl/pdf.xsl
diff --git a/docs/ref-html-style.xsl b/docs/xsl/ref-html-style.xsl
index 124a117..124a117 100644
--- a/docs/ref-html-style.xsl
+++ b/docs/xsl/ref-html-style.xsl