]> granicus.if.org Git - docbook-dsssl/commitdiff
First cut at a Makefile
authorDavid Cramer <david@thingbag.net>
Mon, 23 Aug 2010 16:37:05 +0000 (16:37 +0000)
committerDavid Cramer <david@thingbag.net>
Mon, 23 Aug 2010 16:37:05 +0000 (16:37 +0000)
xsl/webhelp/Makefile [new file with mode: 0644]

diff --git a/xsl/webhelp/Makefile b/xsl/webhelp/Makefile
new file mode 100644 (file)
index 0000000..8b6a207
--- /dev/null
@@ -0,0 +1,22 @@
+include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+
+ANT = ant
+ANT_OPTS = 
+
+all: build-indexer webhelp
+
+build-indexer: 
+       $(ANT) build-indexer
+
+webhelp: docsrc/readme.xml
+       # Doing this outside of Ant because I was getting a strange error on Ubuntu. 
+       # and I didn't have time to debug.
+       $(XSLT) $< xsl/webhelp.xsl 
+       $(ANT) index
+
+#profile-webhelp-common.xsl: webhelp-common.xsl ../profiling/xsl2profile.xsl
+#      $(XSLT) $< ../profiling/xsl2profile.xsl $@
+
+clean:
+       $(RM) -r doc/* indexer/lib/nw-cms.jar
+