From 4d4bda0949dbe064f80eb590d360dacb8a1f0156 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 3 Mar 2008 01:35:26 +0000 Subject: [PATCH] refined build of extensions subdir --- xsl/Makefile | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/xsl/Makefile b/xsl/Makefile index ce7379e2f..9a99d7f03 100644 --- a/xsl/Makefile +++ b/xsl/Makefile @@ -1,4 +1,4 @@ -# $Id$ +#suppress $Id$ include ../buildtools/Makefile.incl include ../releasetools/Variables.mk @@ -94,10 +94,14 @@ docsrc: base doc: docsrc $(MAKE) -C doc RELVER=$(RELVER) -extensions: ../xsl-saxon/saxon65.jar ../xsl-xalan/xalan27.jar ../xsl-libxslt/python/xslt.py ../xsl-libxslt/python/docbook.py - if [ ! -d $@/libxslt/python ]; then mkdirhier $@/libxslt/python; fi +extensions: extensions/saxon65.jar extensions/xalan27.jar extensions/libxslt.py extensions/docbook.py + mkdir $@ + +extensions/saxon65.jar: ../xsl-saxon/saxon65.jar + cp -p $^ $@ + +extensions/xalan27.jar: ../xsl-xalan/xalan27.jar cp -p $^ $@ - cp -p ../xsl-libxslt/python/* $@/libxslt/python ../xsl-saxon/saxon65.jar: $(wildcard ../xsl-saxon/src/com/nwalsh/saxon/*.java) $(MAKE) -C $(dir $@) @@ -105,6 +109,12 @@ extensions: ../xsl-saxon/saxon65.jar ../xsl-xalan/xalan27.jar ../xsl-libxslt/pyt ../xsl-xalan/xalan27.jar: $(wildcard ../xsl-xalan/src/com/nwalsh/xalan/*.java) $(MAKE) -C $(dir $@) +extensions/libxslt.py: ../xsl-libxslt/python/xslt.py + cp -p $^ $@ + +extensions/docbook.py: ../xsl-libxslt/python/docbook.py + cp -p $^ $@ + clean: for i in $(DIRS) __bogus__; do \ if [ $$i != __bogus__ ] ; then \ -- 2.40.0