view xml/Makefile @ 527:9e9d6eb9a9c4

Added tag stable-1.9.4-8 for changeset 9a8862b87f6e
author Carl Byington <carl@five-ten-sg.com>
date Sat, 01 Jun 2024 10:41:51 -0600
parents 13a922d1fc5c
children
line wrap: on
line source

ver:=$(shell grep versionName ../app/src/main/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  --with-dblatex  -o $(t) pdf   510connectbot.xml
	rm -f 510connectbot.xml 510connectbot.sgml