[Mplayer-cvslog] CVS: main/DOCS/xml Makefile,1.1,1.2
Dmitry Baryshkov CVS
lumag at mplayerhq.hu
Sun Mar 30 20:48:48 CEST 2003
Update of /cvsroot/mplayer/main/DOCS/xml
In directory mail:/var/tmp.root/cvs-serv29174
Modified Files:
Makefile
Log Message:
Minor improvement: don't create empty dirs.
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile 23 Mar 2003 23:26:55 -0000 1.1
+++ Makefile 30 Mar 2003 18:48:23 -0000 1.2
@@ -33,6 +33,9 @@
# List of subdirectories to be processed.
SUBDIRS = en
+# Here all generated html's go
+HTML_TOP = ../HTML
+
#####[ End of configuration ]###########################################
export CHUNK_XSL SGML_CATALOG_FILES XMLLINT XSLTPROC
@@ -53,11 +56,11 @@
.PHONY: build-html
build-html:
- test -d HTML || mkdir HTML
+ test -d $(HTML_TOP) || mkdir $(HTML_TOP)
for d in $(SUBDIRS); do\
test -f $$d/Makefile &&\
- (test -d HTML/$$d || mkdir HTML/$$d) &&\
- if $(MAKE) HTMLDIR=../../HTML/$$d -C $$d; then :; else exit 1; fi;\
+ (test -d $(HTML_TOP)/$$d || mkdir $(HTML_TOP)/$$d) &&\
+ if $(MAKE) HTMLDIR=../$(HTML_TOP)/$$d -C $$d; then :; else exit 1; fi;\
done
.PHONY: test
@@ -69,7 +72,7 @@
.PHONY: clean-html
clean-html:
- -rm -rf ../HTML
+ -rm -rf $(HTML_TOP)
.PHONY: distclean
distclean: clean-html
More information about the MPlayer-cvslog
mailing list