Mercurial > mplayer.hg
changeset 31076:783f8faee539
Put symlinks under revision control instead of generating them during make.
This simplifies the build system and should have no practical disadvantage.
author | diego |
---|---|
date | Mon, 03 May 2010 23:00:58 +0000 |
parents | a259f3d8694d |
children | dd7f15a3fb1b |
files | DOCS/xml/Makefile DOCS/xml/Makefile.inc DOCS/xml/es/encoding-guide.xml DOCS/xml/es/radio.xml DOCS/xml/it/ports.xml DOCS/xml/it/skin.xml DOCS/xml/zh_CN/encoding-guide.xml DOCS/xml/zh_CN/faq.xml DOCS/xml/zh_CN/install.xml DOCS/xml/zh_CN/ports.xml DOCS/xml/zh_CN/skin.xml DOCS/xml/zh_CN/tvinput.xml DOCS/xml/zh_CN/usage.xml DOCS/xml/zh_CN/video.xml |
diffstat | 14 files changed, 15 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/Makefile Mon May 03 22:45:00 2010 +0000 +++ b/DOCS/xml/Makefile Mon May 03 23:00:58 2010 +0000 @@ -57,7 +57,6 @@ releaseclean: -rm -f $(CONFIGURE_GENERATED) -rm -f $(MAIN_XML_ALL) - -rm -f $$(find . -name *.xml -type l) distclean: clean releaseclean
--- a/DOCS/xml/Makefile.inc Mon May 03 22:45:00 2010 +0000 +++ b/DOCS/xml/Makefile.inc Mon May 03 23:00:58 2010 +0000 @@ -13,24 +13,19 @@ 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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/es/encoding-guide.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/encoding-guide.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/es/radio.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/radio.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/it/ports.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/ports.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/it/skin.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/skin.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/zh_CN/encoding-guide.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/encoding-guide.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/zh_CN/faq.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/faq.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/zh_CN/install.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/install.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/zh_CN/ports.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/ports.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/zh_CN/skin.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/skin.xml \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/zh_CN/tvinput.xml Mon May 03 23:00:58 2010 +0000 @@ -0,0 +1,1 @@ +../en/tvinput.xml \ No newline at end of file