Mercurial > mplayer.hg
annotate DOCS/xml/Makefile @ 10978:3eed882edb42
reversing my brokeness, but imho dnet is still broken on BE systems
author | alex |
---|---|
date | Thu, 02 Oct 2003 14:13:52 +0000 |
parents | 3c0e1b182fbc |
children | 4dc3149f5b74 |
rev | line source |
---|---|
9674 | 1 # Makefile for generating the HTML documentation |
2 | |
3 # List of subdirectories to be processed. | |
10110 | 4 SUBDIRS = en fr |
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) |
9674 | 25 for d in $(SUBDIRS); do\ |
26 test -f $$d/Makefile &&\ | |
9759 | 27 (test -d $(HTML_TOP)/$$d || mkdir $(HTML_TOP)/$$d) &&\ |
28 if $(MAKE) HTMLDIR=../$(HTML_TOP)/$$d -C $$d; 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 | |
10309
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
37 -rm -f html.xsl xsltproc.sh xmllint.sh |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
38 |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
39 xsltproc.sh: configure |
3c0e1b182fbc
XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents:
10110
diff
changeset
|
40 ./configure |