annotate xml/Makefile @ 1:f12df02aa228

add docs
author Carl Byington <carl@five-ten-sg.com>
date Mon, 05 May 2014 14:37:11 -0700
parents
children 0bc0b4798d9e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 ver:=$(shell grep versionName ../AndroidManifest.xml | cut -d'"' -f2)
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 pkg:=510ConnectbotMonitor
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 all:
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 sed -e 's/@PACKAGE@/$(pkg)/g' -e 's/@VERSION@/$(ver)/g' <510connectbotmonitor.in >510connectbotmonitor
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 cat header.xml 510connectbotmonitor >510connectbotmonitor.xml
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 cat header.sgml 510connectbotmonitor >510connectbotmonitor.sgml
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 rm -f ../html/*html
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 rm -f ../html/*pdf
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 xmlto -o ../html xhtml 510connectbotmonitor.xml
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 xmlto -o ../html pdf 510connectbotmonitor.xml
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 rm -f 510connectbotmonitor.xml 510connectbotmonitor.sgml