From: Paul Ramsey Date: Thu, 7 Mar 2019 23:30:19 +0000 (+0000) Subject: Experimental make target that adds a mobile header to html outpu X-Git-Tag: 3.0.0alpha1~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21975684b9e47af9550363cdac8734a02057d812;p=postgis Experimental make target that adds a mobile header to html outpu git-svn-id: http://svn.osgeo.org/postgis/trunk@17301 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/Makefile.in b/doc/Makefile.in index ce45699e8..71f29eb11 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -258,6 +258,17 @@ chunked-html-web: postgis-out.xml Makefile images $(XML_INPUTS) $(CHUNK_HTML_DOCBOOK_XSL) \ $< +HTML_BITS = $(wildcard html/*.html) + +chunked-html-web-mobile: postgis-out.xml Makefile images $(XML_INPUTS) + $(XSLTPROC) $(XSLTPROC_COMMONOPTS) \ + --output html/ \ + --stringparam html.script ga.js \ + $(CHUNK_HTML_DOCBOOK_XSL) \ + $< + tidy -utf8 -m $(HTML_BITS) + $(PERL) -pi -e 's///g' $(HTML_BITS) + html: html/postgis$(DOCSUFFIX).html