summaryrefslogtreecommitdiffstats
path: root/DOCS/xml/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-08 02:00:59 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-08 02:00:59 +0000
commita1b576824414d0e044432e271edabce38756503e (patch)
tree7176c82ccba883009fdc2067086814bf6e82ed83 /DOCS/xml/Makefile
parent51d742b1e2e456481e32d0f432d545e72a17617c (diff)
downloadmpv-a1b576824414d0e044432e271edabce38756503e.tar.bz2
mpv-a1b576824414d0e044432e271edabce38756503e.tar.xz
Support for building incomplete translations.
Patch by Dmitry Baryshkov <mitya@school.ioffe.ru>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11046 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/Makefile')
-rw-r--r--DOCS/xml/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/DOCS/xml/Makefile b/DOCS/xml/Makefile
index 98b91270da..23ae3cee31 100644
--- a/DOCS/xml/Makefile
+++ b/DOCS/xml/Makefile
@@ -1,7 +1,7 @@
# Makefile for generating the HTML documentation
# List of subdirectories to be processed.
-SUBDIRS = en fr
+SUBDIRS = en fr es ru
# Generated HTML files go here.
HTML_TOP = ../HTML
@@ -22,10 +22,10 @@ help:
.PHONY: build-html
build-html: xsltproc.sh
test -d $(HTML_TOP) || mkdir $(HTML_TOP)
- for d in $(SUBDIRS); do\
- test -f $$d/Makefile &&\
- (test -d $(HTML_TOP)/$$d || mkdir $(HTML_TOP)/$$d) &&\
- if $(MAKE) HTMLDIR=../$(HTML_TOP)/$$d -C $$d; then :; else exit 1; fi;\
+ for dir in $(SUBDIRS); do\
+ test -f $$dir/Makefile &&\
+ (test -d $(HTML_TOP)/$$dir || mkdir $(HTML_TOP)/$$dir) &&\
+ if $(MAKE) HTMLDIR=../$(HTML_TOP)/$$dir -C $$dir; then :; else exit 1; fi;
done
.PHONY: clean-html
@@ -34,6 +34,10 @@ clean-html:
.PHONY: distclean
distclean: clean-html
+ for dir in $(SUBDIRS); do\
+ test -f $$dir/Makefile &&\
+ if $(MAKE) HTMLDIR=../$(HTML_TOP)/$$dir -C $$dir distclean ; then :; else exit 1; fi;
+ done
-rm -f html.xsl xsltproc.sh xmllint.sh
xsltproc.sh: configure