summaryrefslogtreecommitdiffstats
path: root/DOCS/xml/Makefile.inc
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-20 23:27:25 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-20 23:27:25 +0000
commit4d671efb4abcc8c1b6669f295f54e1042bd91b98 (patch)
tree06757cfeadc51b3226254f1c2eb0b95c6d8963bf /DOCS/xml/Makefile.inc
parent5d60ddfa20238ec3a10059fd5ff87b972665db45 (diff)
downloadmpv-4d671efb4abcc8c1b6669f295f54e1042bd91b98.tar.bz2
mpv-4d671efb4abcc8c1b6669f295f54e1042bd91b98.tar.xz
Shiny new build system by Torinthiel, polished and improved by myself.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11818 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/Makefile.inc')
-rw-r--r--DOCS/xml/Makefile.inc23
1 files changed, 12 insertions, 11 deletions
diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index 96a38ab463..6c838ff75a 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -36,7 +36,7 @@ all: html-chunked html-single
html-chunked: $(HTMLDIR)/index.html
html-single: $(HTMLFILE)
-$(HTMLDIR)/index.html: documentation.xml $(CHUNK_XSL_DEPS)
+$(HTMLDIR)/index.html: main.xml $(CHUNK_XSL_DEPS)
@if test "$(HTMLDIR)" = "" ; then \
echo "Error: HTMLDIR not set!!!"; \
echo "Typically this means, that you've run make from a subdir of DOCS/xml."; \
@@ -50,12 +50,12 @@ $(HTMLDIR)/index.html: documentation.xml $(CHUNK_XSL_DEPS)
fi ; \
done ; \
fi
- -rm -f $(HTMLDIR)/*
- ../xmllint.sh $<
- cp -f $(HTML_STYLESHEET) $(HTMLDIR)/
- ../xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $<
+ @-rm -f $(HTMLDIR)/*
+ @../xmllint.sh $<
+ @cp -f $(HTML_STYLESHEET) $(HTMLDIR)/
+ @../xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $<
-$(HTMLFILE): documentation.xml $(XSL_DEPS)
+$(HTMLFILE): main.xml $(XSL_DEPS)
@if test "$(HTMLFILE)" = "" ; then \
echo "Error: HTMLFILE not set!!!"; \
echo "Typically this means, that you've run make from a subdir of DOCS/xml."; \
@@ -69,15 +69,16 @@ $(HTMLFILE): documentation.xml $(XSL_DEPS)
fi ; \
done ; \
fi
- -rm -f $(HTMLFILE)
- ../xmllint.sh $<
- cp -f $(HTML_STYLESHEET) `dirname $(HTMLFILE)`
- ../xsltproc.sh $(HTMLFILE) $(HTML_SINGLE_XSL) $<
+ @-rm -f $(HTMLFILE)
+ @../xmllint.sh $<
+ @cp -f $(HTML_STYLESHEET) `dirname $(HTMLFILE)`
+ @../xsltproc.sh $(HTMLFILE) $(HTML_SINGLE_XSL) $<
-../html-chunk.xsl ../html-single.xsl:
+../html-chunk.xsl ../html-single.xsl main.xml:
cd .. && sh configure
distclean:
+ @rm -f main.xml
@if test "$(USE_SYMLINKS)" = "yes" ; then \
rm -f `find *.xml -type l`; \
fi