aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-02-25 11:01:29 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-02-25 11:01:29 +0000
commit55a992728b92afd3012329f8a77dbaf090b0ff4a (patch)
treeed4455180b0e164ba3c0dd73ba226da56ddd853b /doc/Makefile.am
parent35925478d126676b7f9a0c51d17e2a1c79253df2 (diff)
downloadandroid_external_libxml2-55a992728b92afd3012329f8a77dbaf090b0ff4a.tar.gz
android_external_libxml2-55a992728b92afd3012329f8a77dbaf090b0ff4a.tar.bz2
android_external_libxml2-55a992728b92afd3012329f8a77dbaf090b0ff4a.zip
Toward 1.0.0, added docs to the packages, Daniel.
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am23
1 files changed, 15 insertions, 8 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 0d13433e..e918a49b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -9,9 +9,13 @@ DOC_MAIN_SGML_FILE=gnome-xml.sgml
# The directory containing the source code (if it contains documentation).
DOC_SOURCE_DIR=..
+HTML_DIR=$(datadir)/gnome-xml/html
TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
+# htmldir = $(prefix)/html
+# html_DATA = gnome-dev-info.html
+
scan:
gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h"
@@ -31,8 +35,8 @@ clean-local:
maintainer-clean-local: clean
rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
-docdatadir = $(datadir)/aclocal
-docdata_DATA = xml.html structure.gif DOM.gif
+# docdatadir = $(datadir)/aclocal
+# docdata_DATA = xml.html structure.gif DOM.gif
gnome-xml-decl-list.txt : templates
@@ -41,11 +45,14 @@ gnome-xml-sections.txt : scan
rebuild: gnome-xml-sections.txt templates sgml html
-#install-data-local:
-# install -d -m 0755 $(TARGET_DIR)
-# install -m 0644 xml.html structure.gif DOM.gif $(TARGET_DIR)
-# install -m 0644 html/*.html $(TARGET_DIR)
-# install -m 0644 html/index.sgml $(TARGET_DIR)
-# gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)
+install-data-local:
+ install -d -m 0755 $(TARGET_DIR)
+ -install -m 0644 $(srcdir)/xml.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(TARGET_DIR)
+ -install -m 0644 $(srcdir)/html/*.html $(TARGET_DIR)
+ -install -m 0644 $(srcdir)/html/index.sgml $(TARGET_DIR)
+ -gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)
+
+dist-hook:
+ (cd $(srcdir) ; tar cvf - xml.html structure.gif DOM.gif html/*.html html/*.sgml) | (cd $(distdir); tar xf -)
.PHONY : html sgml templates scan