]> granicus.if.org Git - docbook-dsssl/commitdiff
refined build of extensions subdir
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 3 Mar 2008 01:35:26 +0000 (01:35 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 3 Mar 2008 01:35:26 +0000 (01:35 +0000)
xsl/Makefile

index ce7379e2ffd4d22b030ed035859479133ba0b322..9a99d7f03d3a0fc1e3a5b806f96f48844db864e3 100644 (file)
@@ -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 \