Revert "gtk-doc.mak: make build break on new api that has not been added to the secti...
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 3 Aug 2010 09:35:27 +0000 (10:35 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 5 Aug 2010 00:20:29 +0000 (01:20 +0100)
This reverts commit 30c7a70b1d4765d26789950ca8e983284c0a05b3.

Docs stuff should never break the build (it's fragile enough as it is), especially
not when whether things break or not depends on factors outside of the source tree
such as, for example, the gtk-doc version being used. Also, hooks like this are
probably more appropriate for the check or distcheck target.

https://bugzilla.gnome.org/show_bug.cgi?id=625862

gtk-doc.mak

index 24936d4..bdbd07e 100644 (file)
@@ -102,7 +102,11 @@ tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections
        fi
        gtkdoc-mktmpl --module=$(DOC_MODULE) | tee tmpl-build.log
        @if test -s $(DOC_MODULE)-unused.txt; then \
-           exit $(if $(DOCS_ARE_INCOMPLETE_PLEASE_FIXME),0,1); fi
+         echo "============================================================"; \
+         echo "Please add the following to $(DOC_MODULE)-sections.txt:     "; \
+         cat $(DOC_MODULE)-unused.txt;                                        \
+         echo "============================================================"; \
+       fi
        rm -f tmpl-build.log
        touch tmpl-build.stamp