From: Michael Smith Date: Mon, 27 Mar 2006 05:10:40 +0000 (+0000) Subject: This makefile downloads Jeni Tennison's "Markup Utility" X-Git-Tag: release/1.79.1~6^2~2948 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc162475a61098a033673abde4b9526a61af3fe6;p=docbook-dsssl This makefile downloads Jeni Tennison's "Markup Utility" stylesheet, then runs it through the modify.xsl file to alter the value of the "punctuation" variable. --- diff --git a/contrib/tools/tennison/Makefile b/contrib/tools/tennison/Makefile new file mode 100644 index 000000000..c3e8a1ec0 --- /dev/null +++ b/contrib/tools/tennison/Makefile @@ -0,0 +1,25 @@ +# $Id$ + +DOWNLOAD_URL ?= http://www.jenitennison.com/xslt/utilities +DOWNLOAD_FILENAME ?= markup.xsl + +WGET ?= wget +WGET_OPTS ?= + +XSLTPROC=xsltproc +XSLTPROCFLAGS= + +MODIFY_XSL=modify.xsl + +all: modified-$(DOWNLOAD_FILENAME) + +$(DOWNLOAD_FILENAME): + $(WGET) $(DOWNLOAD_URL)/$@ + +modified-$(DOWNLOAD_FILENAME): $(DOWNLOAD_FILENAME) + $(XSLTPROC) $(XSLTPROCFLAGS) $(MODIFY_XSL) $< > $@ + +clean: + $(RM) $(DOWNLOAD_FILENAME) + $(RM) modified-$(DOWNLOAD_FILENAME) + diff --git a/contrib/tools/tennison/modify.xsl b/contrib/tools/tennison/modify.xsl new file mode 100644 index 000000000..9cfa499f5 --- /dev/null +++ b/contrib/tools/tennison/modify.xsl @@ -0,0 +1,34 @@ + + + + + +]> + + + + + + + + + + + + + + + + + + ,:;!?&tab;&cr;&lf;  "'()[]<>{} + + + + +