aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-01-01 19:13:12 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-01-01 19:13:12 +0000
commit8ba1741abd991f8ab885f9fe1cecb69cf259f84f (patch)
tree1fd75fa8be06e8d0ff903abe5e42540dc52f14ba /doc/Makefile.am
parente3c036eedde59df360f54732fc0948ffde9f3139 (diff)
downloadandroid_external_libxml2-8ba1741abd991f8ab885f9fe1cecb69cf259f84f.tar.gz
android_external_libxml2-8ba1741abd991f8ab885f9fe1cecb69cf259f84f.tar.bz2
android_external_libxml2-8ba1741abd991f8ab885f9fe1cecb69cf259f84f.zip
generate the NEWS file from doc/news.html and a stylesheet Daniel
* NEWS doc/Makefile.am doc/news.xsl: generate the NEWS file from doc/news.html and a stylesheet Daniel
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 7b373041..cc4c366c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -27,7 +27,7 @@ EXTRA_DIST=xmlcatalog_man.xml tutorial/*.html tutorial/*.c tutorial/*.pdf \
man_MANS = xmllint.1 xmlcatalog.1
-all: $(PAGES)
+all: $(PAGES) $(top_srcdir)/NEWS
web: $(PAGES) $(APIPAGES)
@@ -35,6 +35,10 @@ $(PAGES): xml.html site.xsl
-@(if [ -x $(bindir)/xsltproc ] ; then \
$(bindir)/xsltproc --html $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/xml.html > index.html ; fi );
+$(top_srcdir)/NEWS: $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html
+ -@(if [ -x $(bindir)/xsltproc ] ; then \
+ $(bindir)/xsltproc --html $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html > $(top_srcdir)/NEWS ; fi );
+
$(APIPAGES): libxml2-refs.xml site.xsl api.xsl
-@(if [ -x $(bindir)/xsltproc ] ; then \
$(bindir)/xsltproc --html $(top_srcdir)/doc/api.xsl $(top_srcdir)/doc/xml.html ; fi );