From: Thomas Vander Stichele Date: Sun, 29 Apr 2007 13:04:24 +0000 (+0000) Subject: gtk-doc-plugins.mak (-module): Error out when the html build step gives warnings... X-Git-Tag: RELEASE-0_10_3~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61edc2dc7b8eba179d85a6545e46e0d65239e94d;p=platform%2Fupstream%2Fgst-common.git gtk-doc-plugins.mak (-module): Error out when the html build step gives warnings, so they get fixed properly. Original commit message from CVS: * gtk-doc-plugins.mak (-module): Error out when the html build step gives warnings, so they get fixed properly. --- diff --git a/ChangeLog b/ChangeLog index 64b00db..074dcd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-04-29 Thomas Vander Stichele + + * gtk-doc-plugins.mak (-module): + Error out when the html build step gives warnings, so they get + fixed properly. + 2007-04-23 Stefan Kost * m4/gst-feature.m4: diff --git a/gtk-doc-plugins.mak b/gtk-doc-plugins.mak index cb98eb7..e4fe5db 100644 --- a/gtk-doc-plugins.mak +++ b/gtk-doc-plugins.mak @@ -212,7 +212,11 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @for f in $(content_files); do cp $(srcdir)/$$f html; done cp -pr xml html cp ../version.entities html - cd html && gtkdoc-mkhtml $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) + cd html && gtkdoc-mkhtml $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) \ + 2>&1 | tee ../html-build.log + @if grep "warning:" html-build.log > /dev/null; then \ + echo "ERROR"; grep "warning:" html-build.log; exit 1; fi + @rm html-build.log rm -f html/$(DOC_MAIN_SGML_FILE) rm -rf html/xml rm -f html/version.entities