diff xml/Makefile @ 0:0ce5cc452d02

initial version
author Carl Byington <carl@five-ten-sg.com>
date Thu, 22 May 2014 10:41:19 -0700
parents
children 7eb24880b111
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/Makefile	Thu May 22 10:41:19 2014 -0700
@@ -0,0 +1,12 @@
+ver:=$(shell grep versionName ../AndroidManifest.xml | cut -d'"' -f2)
+pkg:=510Connectbot
+
+all:
+	sed -e 's/@PACKAGE@/$(pkg)/g' -e 's/@VERSION@/$(ver)/g' <510connectbot.in >510connectbot
+	cat header.xml  510connectbot >510connectbot.xml
+	cat header.sgml 510connectbot >510connectbot.sgml
+	rm -f ../html/*html
+	rm -f ../html/*pdf
+	xmlto        -o ../html xhtml 510connectbot.xml
+	xmlto        -o ../html pdf   510connectbot.xml
+	rm -f 510connectbot.xml 510connectbot.sgml