summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-14 00:42:46 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-14 00:42:46 +0000
commit18c69ef7808d069c10a49deb0f01afe9b503903d (patch)
tree6465ba9a08fe98bb8937948e2856f8c8c7046744
parentb933c31df5e85b89e1610e91c933e587434c299e (diff)
downloadmpv-18c69ef7808d069c10a49deb0f01afe9b503903d.tar.bz2
mpv-18c69ef7808d069c10a49deb0f01afe9b503903d.tar.xz
Factorize stylesheet installation into its own target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30015 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/xml/Makefile.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index d509d42e53..4f8628e7f9 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -35,12 +35,13 @@ SYMLINKS_DEPS:=$(if $(findstring yes,$(USE_SYMLINKS)), $(patsubst ../en/%,%,$(wi
xmllint: main.xml $(SYMLINKS_DEPS)
../xmllint.sh $<
-$(HTMLDIR)/index.html: main.xml $(CHUNK_XSL_DEPS) $(SYMLINKS_DEPS) xmllint
- cp -f $(HTML_STYLESHEET) $(@D)
+$(HTMLDIR)/default.css:
+ cp -f ../default.css $(@D)
+
+$(HTMLDIR)/index.html: main.xml $(CHUNK_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(HTMLDIR)/default.css
../xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $<
-$(HTMLDIR)/MPlayer.html: main.xml $(XSL_DEPS) $(SYMLINKS_DEPS) xmllint
- cp -f $(HTML_STYLESHEET) $(@D)
+$(HTMLDIR)/MPlayer.html: main.xml $(XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(HTMLDIR)/default.css
../xsltproc.sh $@ $(HTML_SINGLE_XSL) $<
../html-chunk.xsl ../html-single.xsl main.xml: