]> granicus.if.org Git - docbook-dsssl/commitdiff
moved extensions build targets from master xsl/Makefile to
authorMichael Smith <xmldoc@users.sourceforge.net>
Sat, 8 Mar 2008 04:19:09 +0000 (04:19 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sat, 8 Mar 2008 04:19:09 +0000 (04:19 +0000)
xsl/extensions/Makefile

xsl/Makefile
xsl/extensions/Makefile [new file with mode: 0644]

index fdfaaafd8d60f87d047b85c2bce5c8636052fce5..f7abce105489584a71d10760b62d62616dbe4960 100644 (file)
@@ -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 (file)
index 0000000..016a8ab
--- /dev/null
@@ -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