# HG changeset patch # User diego # Date 1074983471 0 # Node ID 67550c3b21a5cf476dc33ae21b1adeef6b223b97 # Parent acef84b653a9e3a57de056a234b425f8cf0c5649 Make the build system print everything it does. diff -r acef84b653a9 -r 67550c3b21a5 DOCS/xml/Makefile --- a/DOCS/xml/Makefile Sat Jan 24 17:13:31 2004 +0000 +++ b/DOCS/xml/Makefile Sat Jan 24 22:31:11 2004 +0000 @@ -26,8 +26,8 @@ .PHONY: html-chunked html-chunked: xsltproc.sh xmllint.sh - @test -d $(HTML_CHUNKED) || mkdir $(HTML_CHUNKED) - @for dir in $(SUBDIRS); do\ + test -d $(HTML_CHUNKED) || mkdir $(HTML_CHUNKED) + for dir in $(SUBDIRS); do\ test -f $$dir/Makefile &&\ (test -d $(HTML_CHUNKED)/$$dir || mkdir $(HTML_CHUNKED)/$$dir) &&\ if $(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$$dir -C $$dir html-chunked; then :; else exit 1; fi;\ @@ -35,8 +35,8 @@ .PHONY: html-single html-single: xsltproc.sh xmllint.sh - @test -d $(HTML_SINGLE) || mkdir $(HTML_SINGLE) - @for dir in $(SUBDIRS); do\ + test -d $(HTML_SINGLE) || mkdir $(HTML_SINGLE) + for dir in $(SUBDIRS); do\ test -f $$dir/Makefile &&\ (test -d $(HTML_SINGLE)/$$dir || mkdir $(HTML_SINGLE)/$$dir) &&\ if $(MAKE) HTMLFILE=../$(HTML_SINGLE)/$$dir/MPlayer.html -C $$dir html-single; then :; else exit 1; fi;\ @@ -44,21 +44,21 @@ .PHONY: clean-html-chunked clean-html-chunked: - @-rm -rf $(HTML_CHUNKED) + -rm -rf $(HTML_CHUNKED) .PHONY: clean-html-single clean-html-single: - @-rm -rf $(HTML_SINGLE) + -rm -rf $(HTML_SINGLE) .PHONY: distclean distclean: clean-html-chunked clean-html-single - @for dir in $(SUBDIRS); do\ + for dir in $(SUBDIRS); do\ test -f $$dir/Makefile &&\ if $(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$$dir -C $$dir distclean ; then :; else exit 1; fi;\ done - @-rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh + -rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh xsltproc.sh xmllint.sh: - @sh configure + sh configure clean: clean-html-chunked clean-html-single diff -r acef84b653a9 -r 67550c3b21a5 DOCS/xml/Makefile.inc --- a/DOCS/xml/Makefile.inc Sat Jan 24 17:13:31 2004 +0000 +++ b/DOCS/xml/Makefile.inc Sat Jan 24 22:31:11 2004 +0000 @@ -37,48 +37,48 @@ html-single: $(HTMLFILE) $(HTMLDIR)/index.html: main.xml $(CHUNK_XSL_DEPS) - @if test "$(HTMLDIR)" = "" ; then \ + if test "$(HTMLDIR)" = "" ; then \ echo "Error: HTMLDIR not set!!!"; \ echo "Typically this means, that you've run make from a subdir of DOCS/xml."; \ echo "Don't do this!"; \ false; \ fi - @if test "$(USE_SYMLINKS)" = "yes" ; then \ + if test "$(USE_SYMLINKS)" = "yes" ; then \ for file in ../en/*.xml ; do \ if ! test -r `basename $$file` ; then \ ln -s $$file `basename $$file` ; \ fi ; \ done ; \ fi - @-rm -f $(HTMLDIR)/* - @../xmllint.sh $< - @cp -f $(HTML_STYLESHEET) $(HTMLDIR)/ - @../xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $< + -rm -f $(HTMLDIR)/* + ../xmllint.sh $< + cp -f $(HTML_STYLESHEET) $(HTMLDIR)/ + ../xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $< $(HTMLFILE): main.xml $(XSL_DEPS) - @if test "$(HTMLFILE)" = "" ; then \ + if test "$(HTMLFILE)" = "" ; then \ echo "Error: HTMLFILE not set!!!"; \ echo "Typically this means, that you've run make from a subdir of DOCS/xml."; \ echo "Don't do this!"; \ false; \ fi - @if test "$(USE_SYMLINKS)" = "yes" ; then \ + if test "$(USE_SYMLINKS)" = "yes" ; then \ for file in ../en/*.xml ; do \ if ! test -r `basename $$file` ; then \ ln -s $$file `basename $$file` ; \ fi ; \ done ; \ fi - @-rm -f $(HTMLFILE) - @../xmllint.sh $< - @cp -f $(HTML_STYLESHEET) `dirname $(HTMLFILE)` - @../xsltproc.sh $(HTMLFILE) $(HTML_SINGLE_XSL) $< + -rm -f $(HTMLFILE) + ../xmllint.sh $< + cp -f $(HTML_STYLESHEET) `dirname $(HTMLFILE)` + ../xsltproc.sh $(HTMLFILE) $(HTML_SINGLE_XSL) $< ../html-chunk.xsl ../html-single.xsl main.xml: cd .. && sh configure distclean: - @rm -f main.xml - @if test "$(USE_SYMLINKS)" = "yes" ; then \ + rm -f main.xml + if test "$(USE_SYMLINKS)" = "yes" ; then \ rm -f `find *.xml -type l`; \ fi