From 516ccaebd649172c7389accbb9e36428ef30f79e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 8 Mar 2008 04:19:09 +0000 Subject: [PATCH] moved extensions build targets from master xsl/Makefile to xsl/extensions/Makefile --- xsl/Makefile | 26 +------------------------- xsl/extensions/Makefile | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 25 deletions(-) create mode 100644 xsl/extensions/Makefile diff --git a/xsl/Makefile b/xsl/Makefile index fdfaaafd8..f7abce105 100644 --- a/xsl/Makefile +++ b/xsl/Makefile @@ -62,7 +62,7 @@ DISTRIB_PACKAGES = doc URILIST = \ .\ http://docbook.sourceforge.net/release/xsl/current/ -DIRS=common lib html fo manpages htmlhelp javahelp eclipse roundtrip slides website +DIRS=common lib html fo manpages htmlhelp javahelp eclipse roundtrip slides website extensions .PHONY: distrib clean doc docsrc xhtml @@ -94,36 +94,12 @@ docsrc: base doc: docsrc $(MAKE) -C doc RELVER=$(RELVER) -extensions: extensions/saxon65.jar extensions/xalan27.jar extensions/xslt.py extensions/docbook.py extensions/README.LIBXSLT - -extensions/saxon65.jar: ../xsl-saxon/saxon65.jar - cp -p $^ $@ - -extensions/xalan27.jar: ../xsl-xalan/xalan27.jar - cp -p $^ $@ - -../xsl-saxon/saxon65.jar: $(wildcard ../xsl-saxon/src/com/nwalsh/saxon/*.java) - $(MAKE) -C $(dir $@) - -../xsl-xalan/xalan27.jar: $(wildcard ../xsl-xalan/src/com/nwalsh/xalan/*.java) - $(MAKE) -C $(dir $@) - -extensions/xslt.py: ../xsl-libxslt/python/xslt.py - cp -p $^ $@ - -extensions/docbook.py: ../xsl-libxslt/python/docbook.py - cp -p $^ $@ - -extensions/README.LIBXSLT: ../xsl-libxslt/python/README.LIBXSLT - cp -p $^ $@ - clean: for i in $(DIRS) __bogus__; do \ if [ $$i != __bogus__ ] ; then \ echo "$(MAKE) clean -C $$i"; $(MAKE) clean -C $$i; \ fi \ done - $(RM) -r extensions/* $(MAKE) clean -C xhtml $(MAKE) clean -C doc $(MAKE) clean -C docsrc diff --git a/xsl/extensions/Makefile b/xsl/extensions/Makefile new file mode 100644 index 000000000..016a8ab28 --- /dev/null +++ b/xsl/extensions/Makefile @@ -0,0 +1,31 @@ +# $Id: Makefile 7877 2008-03-08 04:07:52Z xmldoc $ + +all: saxon65.jar xalan27.jar xslt.py docbook.py README.LIBXSLT + +saxon65.jar: ../../xsl-saxon/saxon65.jar + cp -p $^ $@ + +xalan27.jar: ../../xsl-xalan/xalan27.jar + cp -p $^ $@ + +../../xsl-saxon/saxon65.jar: $(wildcard ../../xsl-saxon/src/com/nwalsh/saxon/*.java) + $(MAKE) -C $(dir $@) + +../../xsl-xalan/xalan27.jar: $(wildcard ../../xsl-xalan/src/com/nwalsh/xalan/*.java) + $(MAKE) -C $(dir $@) + +xslt.py: ../../xsl-libxslt/python/xslt.py + cp -p $^ $@ + +docbook.py: ../../xsl-libxslt/python/docbook.py + cp -p $^ $@ + +README.LIBXSLT: ../../xsl-libxslt/python/README.LIBXSLT + cp -p $^ $@ + +clean: + $(RM) saxon65.jar + $(RM) xalan27.jar + $(RM) xslt.py + $(RM) docbook.py + $(RM) README.LIBXSLT -- 2.40.0