summaryrefslogtreecommitdiffstats
path: root/DOCS/xml/Makefile.inc
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-03 23:00:58 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-03 23:00:58 +0000
commitbcdf7c0b3dc61a09e0cd83d553bd21dc0f266d04 (patch)
treea6f25762e65b75c3126a45968157a5db0430c17d /DOCS/xml/Makefile.inc
parenteaff21c633fbb1c366890875c7bc5485fcd85459 (diff)
downloadmpv-bcdf7c0b3dc61a09e0cd83d553bd21dc0f266d04.tar.bz2
mpv-bcdf7c0b3dc61a09e0cd83d553bd21dc0f266d04.tar.xz
Put symlinks under revision control instead of generating them during make.
This simplifies the build system and should have no practical disadvantage. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31133 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/Makefile.inc')
-rw-r--r--DOCS/xml/Makefile.inc11
1 files changed, 3 insertions, 8 deletions
diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index 33639bed7e..44e022d56c 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -13,24 +13,19 @@ all: html-chunked html-single
html-chunked: $(HTMLDIR)/index.html
html-single: $(HTMLDIR)/MPlayer.html
-SYMLINKS_DEPS := $(filter-out $(wildcard *.xml),$(notdir $(wildcard ../en/*.xml)))
-
-xmllint: main.xml $(SYMLINKS_DEPS)
+xmllint: main.xml
../xmllint.sh $<
$(HTMLDIR)/default.css:
cp -f ../default.css $(@D)
-$(HTMLDIR)/index.html: main.xml $(CHUNK_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(HTMLDIR)/default.css
+$(HTMLDIR)/index.html: main.xml $(CHUNK_XSL_DEPS) xmllint $(HTMLDIR)/default.css
../xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $<
-$(HTMLDIR)/MPlayer.html: main.xml $(SINGLE_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(HTMLDIR)/default.css
+$(HTMLDIR)/MPlayer.html: main.xml $(SINGLE_XSL_DEPS) xmllint $(HTMLDIR)/default.css
../xsltproc.sh $@ $(HTML_SINGLE_XSL) $<
../html-chunk.xsl ../html-single.xsl main.xml:
cd .. && sh configure
-$(SYMLINKS_DEPS):
- ln -s ../en/$@ $@
-
.PHONY: all html-chunked html-single xmllint