gtk-doc.mak: error out if gtkdoc-mktmpl finds unused declarations
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 30 May 2006 14:44:56 +0000 (14:44 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 30 May 2006 14:44:56 +0000 (14:44 +0000)
Original commit message from CVS:

* gtk-doc.mak:
error out if gtkdoc-mktmpl finds unused declarations

ChangeLog
gtk-doc.mak

index 038e737..8cb3cd9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
+2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
+
+       * gtk-doc.mak:
+         error out if gtkdoc-mktmpl finds unused declarations
+
 2006-05-28  Edward Hervey  <edward@fluendo.com>
 
        * gst.supp:
-       Reverting previous commit.
+       Reverting previous commit.  That's good to know, Edward, but why ?
        
 2006-05-28  Edward Hervey  <edward@fluendo.com>
 
index 5d3752b..ac5ab36 100644 (file)
@@ -86,7 +86,6 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp
 
 #### templates ####
 
-### FIXME: make this error out again when docs are fixed for 0.9
 tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_OVERRIDES)
        @echo '*** Rebuilding template files ***'
        if test x"$(srcdir)" != x. ; then \
@@ -95,7 +94,7 @@ 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 \
-           true; fi # exit 1; fi
+           exit 1; fi
        rm -f tmpl-build.log
        touch tmpl-build.stamp