gtk-doc.mak: make build break on new api that has not been added to the sections...
authorStefan Kost <ensonic@users.sourceforge.net>
Mon, 17 Oct 2005 20:18:32 +0000 (20:18 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Mon, 17 Oct 2005 20:18:32 +0000 (20:18 +0000)
Original commit message from CVS:
* gtk-doc.mak:
make build break on new api that has not been added to the
sections file

ChangeLog
gtk-doc.mak

index cae7298..688fc3c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-18  Stefan Kost  <ensonic@users.sf.net>
+
+       * gtk-doc.mak:
+         make build break on new api that has not been added to the
+         sections file
+
 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * m4/gst-glib2.m4:
index a5c81e8..37af4ac 100644 (file)
@@ -94,9 +94,8 @@ tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections
            touch $(DOC_MODULE)-decl.txt ; \
        fi
        gtkdoc-mktmpl --module=$(DOC_MODULE) | tee tmpl-build.log
-       @cat $(DOC_MODULE)-unused.txt
-       @if ! test -z "`grep -v GstPoptOption $(DOC_MODULE)-unused.txt`"; then \
-           true; fi # exit 1; fi
+       @if test -s $(DOC_MODULE)-unused.txt; then \
+           exit 1; fi
        rm -f tmpl-build.log
        touch tmpl-build.stamp