view xml/Makefile @ 32:759c61d72006 default tip

fix makefile for xml docs
author Carl Byington <carl@five-ten-sg.com>
date Sun, 28 Apr 2019 17:20:53 -0700
parents 0bc0b4798d9e
children
line wrap: on
line source

ver:=$(shell grep versionName ../app/src/main/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
	rm -f ../html/*html
	rm -f ../html/*pdf
	xmlto        -o ../html xhtml 510connectbotmonitor.xml
	xmlto        -o ../html pdf   510connectbotmonitor.xml
	rm -f 510connectbotmonitor.xml