[MPlayer-DOCS] CVS: main/DOCS/xml Makefile,1.25,1.26
Diego Biurrun CVS
syncmail at mplayerhq.hu
Sun Mar 26 23:07:34 CEST 2006
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main/DOCS/xml
In directory mail:/var2/tmp/cvs-serv30370/DOCS/xml
Modified Files:
Makefile
Log Message:
Simplify mkdir calls, test is not necessary before creating directories,
discarding the return value of mkdir is just as good.
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/Makefile,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- Makefile 31 Dec 2005 14:01:19 -0000 1.25
+++ Makefile 26 Mar 2006 21:07:31 -0000 1.26
@@ -36,12 +36,12 @@
.PHONY: html-chunked chunked-dir
html-chunked: xsltproc.sh xmllint.sh chunked-dir $(addprefix html-chunked-,$(SUBDIRS))
chunked-dir:
- test -d $(HTML_CHUNKED) || mkdir $(HTML_CHUNKED)
+ -mkdir $(HTML_CHUNKED)
.PHONY: html-single single-dir
html-single: xsltproc.sh xmllint.sh single-dir $(addprefix html-single-,$(SUBDIRS))
single-dir:
- test -d $(HTML_SINGLE) || mkdir $(HTML_SINGLE)
+ -mkdir $(HTML_SINGLE)
.PHONY: xmllint
xmllint: xmllint.sh $(addprefix xmllint-,$(SUBDIRS))
@@ -69,11 +69,11 @@
.PHONY: html-chunked-$(1) html-single-$(1) xmllint-$(1) \
distclean-$(1) releaseclean-$(1) clean-$(1)
html-chunked-$(1): xsltproc.sh xmllint.sh chunked-dir
- (test -d $(HTML_CHUNKED)/$(1) || mkdir $(HTML_CHUNKED)/$(1))
+ -(mkdir $(HTML_CHUNKED)/$(1))
$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked
html-single-$(1): xsltproc.sh xmllint.sh single-dir
- (test -d $(HTML_SINGLE)/$(1) || mkdir $(HTML_SINGLE)/$(1))
+ -(mkdir $(HTML_SINGLE)/$(1))
$(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) html-single
xmllint-$(1): xmllint.sh
More information about the MPlayer-DOCS
mailing list