Mercurial > mplayer.hg
comparison DOCS/xml/Makefile.inc @ 11045:4dc3149f5b74
Support for building incomplete translations.
Patch by Dmitry Baryshkov <mitya@school.ioffe.ru>.
author | diego |
---|---|
date | Wed, 08 Oct 2003 02:00:59 +0000 |
parents | f6268d5a10f4 |
children | 6dfed0b2a300 |
comparison
equal
deleted
inserted
replaced
11044:7d0ec2991522 | 11045:4dc3149f5b74 |
---|---|
15 HTML_STYLESHEET ?= ../default.css | 15 HTML_STYLESHEET ?= ../default.css |
16 | 16 |
17 # This is the main target... | 17 # This is the main target... |
18 $(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS) | 18 $(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS) |
19 @if test "$(HTMLDIR)" = "" ; then echo "Error: HTMLDIR not set!!!"; echo "Typically this means, that you've run make from subdir of DOCS/xml. Don't do this!" ; false; fi | 19 @if test "$(HTMLDIR)" = "" ; then echo "Error: HTMLDIR not set!!!"; echo "Typically this means, that you've run make from subdir of DOCS/xml. Don't do this!" ; false; fi |
20 if test "$(USE_SYMLINKS)" = "yes" ; then for file in ../en/*.xml ; do if ! test -r `basename $$file` ; then ln -s $$file `basename $$file` ; fi ; done ; fi | |
20 -rm -f $(HTMLDIR)/* | 21 -rm -f $(HTMLDIR)/* |
21 ../xmllint.sh $< | 22 ../xmllint.sh $< |
22 cp $(HTML_STYLESHEET) $(HTMLDIR)/ | 23 cp $(HTML_STYLESHEET) $(HTMLDIR)/ |
23 ../xsltproc.sh $(HTMLDIR)/ $(HTML_XSL) $< | 24 ../xsltproc.sh $(HTMLDIR)/ $(HTML_XSL) $< |
24 | 25 |
25 ../html.xsl: | 26 ../html.xsl: |
26 cd .. && sh configure | 27 cd .. && sh configure |
28 | |
29 distclean: | |
30 if test "$(USE_SYMLINKS)" = "yes" ; then for file in *.xml ; do if test -L $$file && test "`readlink $$file`" = "../en/$$file" ; then rm $$file ; fi ; done ; fi |