annotate xml/Makefile @ 361:395a16681ae1

add help files to the web documentation
author Carl Byington <carl@five-ten-sg.com>
date Mon, 04 Aug 2014 08:23:36 -0700
parents 7eb24880b111
children d29cce60f393
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 ver:=$(shell grep versionName ../AndroidManifest.xml | cut -d'"' -f2)
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 pkg:=510Connectbot
360
7eb24880b111 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
3 t:=../html
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 all:
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 sed -e 's/@PACKAGE@/$(pkg)/g' -e 's/@VERSION@/$(ver)/g' <510connectbot.in >510connectbot
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 cat header.xml 510connectbot >510connectbot.xml
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 cat header.sgml 510connectbot >510connectbot.sgml
360
7eb24880b111 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
9 [ -d $(t) ] || mkdir $(t)
7eb24880b111 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
10 rm -f $(t)/*html
7eb24880b111 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
11 rm -f $(t)/*pdf
7eb24880b111 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
12 xmlto -o $(t) xhtml 510connectbot.xml
7eb24880b111 add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
13 xmlto -o $(t) pdf 510connectbot.xml
0
0ce5cc452d02 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 rm -f 510connectbot.xml 510connectbot.sgml