From 7a013bb2bad8281ed2dbc1476d5b756109abbacd Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 27 Mar 2006 05:10:40 +0000 Subject: [PATCH] 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. --- contrib/tools/tennison/Makefile | 25 +++++++++++++++++++++++ contrib/tools/tennison/modify.xsl | 34 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 contrib/tools/tennison/Makefile create mode 100644 contrib/tools/tennison/modify.xsl 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;  "'()[]<>{} + + + + + -- 2.40.0