Mercurial > 510Connectbot
annotate xml/Makefile @ 442:ced663d2e957
migrate from Eclipse to Android Studio
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Dec 2015 12:29:29 -0800 |
parents | d29cce60f393 |
children | 13a922d1fc5c |
rev | line source |
---|---|
438
d29cce60f393
migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
360
diff
changeset
|
1 ver:=$(shell grep versionName ../app/src/main/AndroidManifest.xml | cut -d'"' -f2) |
0 | 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 | 4 |
5 all: | |
6 sed -e 's/@PACKAGE@/$(pkg)/g' -e 's/@VERSION@/$(ver)/g' <510connectbot.in >510connectbot | |
7 cat header.xml 510connectbot >510connectbot.xml | |
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 | 14 rm -f 510connectbot.xml 510connectbot.sgml |