gtk-doc-plugins.mak: fail on compiling scanner
authorThomas Vander Stichele <thomas (at) apestaart (dot) org>
Wed, 25 Jan 2012 11:56:42 +0000 (12:56 +0100)
committerThomas Vander Stichele <thomas (at) apestaart (dot) org>
Wed, 25 Jan 2012 12:01:20 +0000 (13:01 +0100)
gtk-doc-plugins.mak

index 8cc42e7..084f9ae 100644 (file)
@@ -13,8 +13,7 @@ help:
        @echo
 
 # update the stuff maintained by doc maintainers
-update:
-       $(MAKE) scanobj-update
+update: scanobj-update
        $(MAKE) check-outdated-docs
 
 # We set GPATH here; this gives us semantics for GNU make
@@ -130,7 +129,7 @@ scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles)
            --module=$(DOC_MODULE) --source=$(PACKAGE) --inspect-dir=$(INSPECT_DIR) &&          \
            echo "  DOC   Merging introspection data" && \
            $(PYTHON)                                           \
-           $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE);       \
+           $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE) || exit 1;     \
        if test x"$(srcdir)" != x. ; then                               \
            for f in $(SCANOBJ_FILES);                                  \
            do                                                          \