diff 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
line wrap: on
line diff
--- a/DOCS/xml/Makefile	Wed Oct 08 01:40:57 2003 +0000
+++ b/DOCS/xml/Makefile	Wed Oct 08 02:00:59 2003 +0000
@@ -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 @@
 .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 @@
 
 .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