view xml/Makefile @ 436:0dd7fbeba5b1

Added tag stable-1.9.2 for changeset 9c6a269fabb5
author Carl Byington <carl@five-ten-sg.com>
date Thu, 09 Apr 2015 11:34:15 -0700
parents 7eb24880b111
children d29cce60f393
line wrap: on
line source

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

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