view xml/Makefile @ 17:cc4da730e429

Added tag stable-1.0.2 for changeset a481d8fb5571
author Carl Byington <carl@five-ten-sg.com>
date Tue, 01 Jul 2014 19:10:51 -0700
parents f12df02aa228
children 0bc0b4798d9e
line wrap: on
line source

ver:=$(shell grep versionName ../AndroidManifest.xml | cut -d'"' -f2)
pkg:=510ConnectbotMonitor

all:
	sed -e 's/@PACKAGE@/$(pkg)/g' -e 's/@VERSION@/$(ver)/g' <510connectbotmonitor.in >510connectbotmonitor
	cat header.xml  510connectbotmonitor >510connectbotmonitor.xml
	cat header.sgml 510connectbotmonitor >510connectbotmonitor.sgml
	rm -f ../html/*html
	rm -f ../html/*pdf
	xmlto        -o ../html xhtml 510connectbotmonitor.xml
	xmlto        -o ../html pdf   510connectbotmonitor.xml
	rm -f 510connectbotmonitor.xml 510connectbotmonitor.sgml