Mercurial > 510Connectbot
annotate xml/Makefile @ 31:139394237973 tn5250
start tn5250 integration
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 10 Jun 2014 12:00:07 -0700 |
parents | 0ce5cc452d02 |
children | 7eb24880b111 |
rev | line source |
---|---|
0 | 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 |