protect on null retval
[gnome.gobject-introspection] / Makefile.am
index 2a4de03..1539706 100644 (file)
@@ -27,12 +27,17 @@ man_MANS =                  \
        docs/g-ir-scanner.1
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gobject-introspection-1.0.pc
+pkgconfig_DATA = gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc
 
 m4dir = $(datadir)/aclocal
 m4_DATA = m4/introspection.m4
 
+makedir = $(datadir)/gobject-introspection-1.0
+dist_make_DATA = Makefile.introspection
+
 EXTRA_DIST =                   \
+       COPYING.LGPL            \
+       COPYING.GPL             \
        CONTRIBUTORS            \
        $(pkgconfig_DATA)       \
        $(man_MANS)             \
@@ -43,7 +48,7 @@ EXTRA_DIST =                  \
 release-tag:
        @TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
          echo "* Tagging $(VERSION)"; \
-          git tag -m "Tag $$VERSION" -a \
+          git tag -s -m "Tag $$VERSION" -a \
               GOBJECT_INTROSPECTION_$$TAG && \
              git push --tags ssh://git.gnome.org/git/gobject-introspection
 
@@ -53,6 +58,6 @@ upload-release: $(distdir).tar.gz
 
 check-local:
        @echo "  PEP-8 INQUISITION"
-       @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pep8.py --repeat
+       @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pep8.py --repeat --exclude=config.py
        @echo "  CHECK Pyflakes"
        @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pyflakes.py