Mercurial > mplayer.hg
annotate DOCS/xml/Makefile @ 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 | 3c0e1b182fbc |
children | cdd9fb032ed2 |
rev | line source |
---|---|
9674 | 1 # Makefile for generating the HTML documentation |
2 | |
3 # List of subdirectories to be processed. | |
11045 | 4 SUBDIRS = en fr es ru |
9674 | 5 |
10309
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
6 # Generated HTML files go here. |
9759 | 7 HTML_TOP = ../HTML |
8 | |
9674 | 9 |
10309
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
10 .PHONY: all |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
11 all: build-html |
9674 | 12 |
10309
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
13 .PHONY: help |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
14 help: |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
15 @echo "Targets:" |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
16 @echo "********" |
9674 | 17 @echo "all : Build everything (same as build-html for now)." |
18 @echo "build-html: Build HTML documentation." | |
19 @echo "clean-html: Purge the 'HTML' directory." | |
20 @echo "distclean : Remove ALL generated files." | |
21 | |
22 .PHONY: build-html | |
10309
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
23 build-html: xsltproc.sh |
9759 | 24 test -d $(HTML_TOP) || mkdir $(HTML_TOP) |
11045 | 25 for dir in $(SUBDIRS); do\ |
26 test -f $$dir/Makefile &&\ | |
27 (test -d $(HTML_TOP)/$$dir || mkdir $(HTML_TOP)/$$dir) &&\ | |
28 if $(MAKE) HTMLDIR=../$(HTML_TOP)/$$dir -C $$dir; then :; else exit 1; fi; | |
9674 | 29 done |
30 | |
31 .PHONY: clean-html | |
32 clean-html: | |
9759 | 33 -rm -rf $(HTML_TOP) |
9674 | 34 |
35 .PHONY: distclean | |
36 distclean: clean-html | |
11045 | 37 for dir in $(SUBDIRS); do\ |
38 test -f $$dir/Makefile &&\ | |
39 if $(MAKE) HTMLDIR=../$(HTML_TOP)/$$dir -C $$dir distclean ; then :; else exit 1; fi; | |
40 done | |
10309
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
41 -rm -f html.xsl xsltproc.sh xmllint.sh |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
42 |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
43 xsltproc.sh: configure |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
44 ./configure |