summaryrefslogtreecommitdiffstats
path: root/DOCS/xml/Makefile.inc
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-18 17:37:36 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-18 17:37:36 +0000
commitdc0adf6e2081c35cf18c84f39c6c0740faf521fa (patch)
tree400da05c8fda25793603ba84c4f8ee66f7b9fc63 /DOCS/xml/Makefile.inc
parent28df7aaeff547a22328f7f74cbfeeb4d72ba2de5 (diff)
downloadmpv-dc0adf6e2081c35cf18c84f39c6c0740faf521fa.tar.bz2
mpv-dc0adf6e2081c35cf18c84f39c6c0740faf521fa.tar.xz
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
modifications and improvements by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10310 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/Makefile.inc')
-rw-r--r--DOCS/xml/Makefile.inc18
1 files changed, 6 insertions, 12 deletions
diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index a0c3872b72..5b14bfb753 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -1,10 +1,8 @@
#
-# Makefile.inc for Makefiles in sub-directories.
+# Makefile.inc for Makefiles in subdirectories.
#
-export SGML_CATALOG_FILES
-
-# Use customized html.xsl file if exists...
+# Use customized html.xsl file if it exists...
ifeq (html.xsl,$(wildcard html.xsl))
HTML_XSL := html.xsl
XSL_DEPS := $(HTML_XSL) ../html.xsl ../html-common.xsl
@@ -13,19 +11,15 @@ HTML_XSL := ../html.xsl
XSL_DEPS := $(HTML_XSL) ../html-common.xsl
endif
-# Fall back to the default HTML stylesheet if not specified.
+# Fall back to the default HTML stylesheet if none is specified.
HTML_STYLESHEET ?= ../default.css
# This is the main target...
$(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS)
-rm -f $(HTMLDIR)/*
- $(XMLLINT) --noout --noent --postvalid --catalogs $<
+ ../xmllint.sh $<
cp $(HTML_STYLESHEET) $(HTMLDIR)/
-ifeq (0,$(USE_SAXON))
- $(XSLTPROC) --catalogs -o $(HTMLDIR)/ $(HTML_XSL) $<
-else
- cd $(HTMLDIR) && $(SAXON_COMMAND) $(CURDIR)/$< $(CURDIR)/$(HTML_XSL)
-endif
+ ../xsltproc.sh $(HTMLDIR)/ $(HTML_XSL) $<
../html.xsl:
- sh ../gen-html.xsl.sh $(CHUNK_XSL) > $@
+ cd .. && sh configure