gtk-doc-plugins.mak (-module): Error out when the html build step gives...

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.
parent a19d235c
2007-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
* gtk-doc-plugins.mak (-module):
Error out when the html build step gives warnings, so they get
fixed properly.
2007-04-23 Stefan Kost <ensonic@users.sf.net>
* m4/gst-feature.m4:
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment