comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:0ce5cc452d02
1 ver:=$(shell grep versionName ../AndroidManifest.xml | cut -d'"' -f2)
2 pkg:=510Connectbot
3
4 all:
5 sed -e 's/@PACKAGE@/$(pkg)/g' -e 's/@VERSION@/$(ver)/g' <510connectbot.in >510connectbot
6 cat header.xml 510connectbot >510connectbot.xml
7 cat header.sgml 510connectbot >510connectbot.sgml
8 rm -f ../html/*html
9 rm -f ../html/*pdf
10 xmlto -o ../html xhtml 510connectbot.xml
11 xmlto -o ../html pdf 510connectbot.xml
12 rm -f 510connectbot.xml 510connectbot.sgml