]> granicus.if.org Git - docbook-dsssl/commitdiff
Removed remaining obsoleted directories from docsrc build and made
authorMichael Smith <xmldoc@users.sourceforge.net>
Sun, 8 Jul 2007 09:46:37 +0000 (09:46 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sun, 8 Jul 2007 09:46:37 +0000 (09:46 +0000)
final changes to docsrc makefile for new docsrc build method.

xsl/docsrcx/Makefile
xsl/docsrcx/common/.cvsignore [deleted file]
xsl/docsrcx/common/Makefile [deleted file]
xsl/docsrcx/refentry/.cvsignore [deleted file]
xsl/docsrcx/refentry/Makefile [deleted file]
xsl/docsrcx/template/.cvsignore [deleted file]
xsl/docsrcx/template/Makefile [deleted file]
xsl/docsrcx/utility/.cvsignore [deleted file]
xsl/docsrcx/utility/Makefile [deleted file]

index dbbbca7ee29a56c2ea4530ec8a36b03064088b23..9f18d1272fe61f2129ddff5bf12d14de41ccf77a 100644 (file)
@@ -1,22 +1,27 @@
 include ../../releasetools/Variables.mk
 
+XJPARSEFLAGS= -E 0 -w
+
 PARAM_DIRS=html fo manpages roundtrip slides/fo slides/html website
 PI_DIRS=html fo common
 
 PARAM_XML_FILES=$(foreach format,$(PARAM_DIRS),../$(format)/param.xml)
 PI_XML_FILES=$(foreach format,$(PI_DIRS),../$(format)/pi.xml)
-OTHER_XML_FILES=common.xml template.xml utility.xml pi-fo.xml pi-html.xml pi-common.xml
+OTHER_XML_FILES=../common/common.xml ../common/utility.xml ../common/refentry.xml ../template/titlepage.xml ../fo/table.xml
 
 DOCBOOK_RNG=$(DOCBOOK_SVN)/releasetools/docbook.rng
 PARAM_XSL_FILES=$(foreach format,$(PARAM_DIRS),../$(format)/param.xsl)
 
-all: $(PARAM_XML_FILES) $(PI_XML_FILES) $(DOCBOOK_ELEMENTS) $(XSL_PARAMS)
+all: $(PARAM_XML_FILES) $(PI_XML_FILES) $(OTHER_XML_FILES) $(DOCBOOK_ELEMENTS) $(XSL_PARAMS)
 
 ../%/param.xml:
        $(MAKE) -C $(dir $@) param.xml
 
-../%/pi.xml:
-       $(MAKE) -C $(dir $@) pi.xml
+%.xml: %.xsl
+       $(XSLT) $< $(XSL2JREF) /dev/null output-file=.$@.tmp
+       $(XJPARSE) $(XJPARSEFLAGS) .$@.tmp
+       $(XSLT) .$@.tmp $(JREF2REFSECT1) $@
+       $(RM) .$@.tmp
 
 clean:
        $(RM) $(PARAM_XML_FILES)
diff --git a/xsl/docsrcx/common/.cvsignore b/xsl/docsrcx/common/.cvsignore
deleted file mode 100644 (file)
index 6722cd9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*.xml
diff --git a/xsl/docsrcx/common/Makefile b/xsl/docsrcx/common/Makefile
deleted file mode 100644 (file)
index 01e1c78..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-include ../../../releasetools/Variables.mk
-VPATH=../../common
-XMLFILES = common.xml common.refsect1.xml
-include ../Makefile.incl
diff --git a/xsl/docsrcx/refentry/.cvsignore b/xsl/docsrcx/refentry/.cvsignore
deleted file mode 100644 (file)
index 6722cd9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*.xml
diff --git a/xsl/docsrcx/refentry/Makefile b/xsl/docsrcx/refentry/Makefile
deleted file mode 100644 (file)
index 5be64c7..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-include ../../../releasetools/Variables.mk
-VPATH=../../common
-XMLFILES = refentry.xml refentry.refsect1.xml
-include ../Makefile.incl
diff --git a/xsl/docsrcx/template/.cvsignore b/xsl/docsrcx/template/.cvsignore
deleted file mode 100644 (file)
index 6722cd9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*.xml
diff --git a/xsl/docsrcx/template/Makefile b/xsl/docsrcx/template/Makefile
deleted file mode 100644 (file)
index dad0c4d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-include ../../../releasetools/Variables.mk
-VPATH=../../template
-XMLFILES = titlepage.xml titlepage.refsect1.xml
-include ../Makefile.incl
diff --git a/xsl/docsrcx/utility/.cvsignore b/xsl/docsrcx/utility/.cvsignore
deleted file mode 100644 (file)
index 6722cd9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*.xml
diff --git a/xsl/docsrcx/utility/Makefile b/xsl/docsrcx/utility/Makefile
deleted file mode 100644 (file)
index 259c187..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-include ../../../releasetools/Variables.mk
-VPATH=../../common
-XMLFILES = utility.xml utility.refsect1.xml
-include ../Makefile.incl