Mercurial > mplayer.hg
changeset 11841:67550c3b21a5
Make the build system print everything it does.
author | diego |
---|---|
date | Sat, 24 Jan 2004 22:31:11 +0000 |
parents | acef84b653a9 |
children | 1e31494a34e9 |
files | DOCS/xml/Makefile DOCS/xml/Makefile.inc |
diffstat | 2 files changed, 23 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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