increase limit of GIRealInfo's ref_count
[gnome.gobject-introspection] / Makefile.am
index 164ed19..1539706 100644 (file)
@@ -18,7 +18,7 @@ endif
 
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = girepository giscanner tools gir tests
+SUBDIRS = girepository giscanner tools gir docs tests examples
 DIST_SUBDIRS = m4 $(SUBDIRS)
 
 man_MANS =                     \
@@ -27,24 +27,37 @@ 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)             \
+       $(m4_DATA)              \
        misc/pep8.py            \
        misc/pyflakes.py
 
 release-tag:
-       @TRUNK=`svn info --xml|egrep ^"<url>"|cut -d\> -f2|cut -d\< -f1`; \
-       ROOT=`echo $$TRUNK|cut -d/ -f-5`; \
-       SVNVERSION=`echo $(VERSION)|sed s/\\\./_/g`;\
+       @TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
          echo "* Tagging $(VERSION)"; \
-          svn cp -m "Tag $(VERSION)" \
-              $$TRUNK \
-              $$ROOT/tags/GOBJECT_INTROSPECTION_$$SVNVERSION
+          git tag -s -m "Tag $$VERSION" -a \
+              GOBJECT_INTROSPECTION_$$TAG && \
+             git push --tags ssh://git.gnome.org/git/gobject-introspection
 
 upload-release: $(distdir).tar.gz
-       scp dist/$(distdir).tar.gz gnome.org:
+       scp $(distdir).tar.gz gnome.org:
        ssh gnome.org install-module $(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 --exclude=config.py
+       @echo "  CHECK Pyflakes"
+       @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pyflakes.py