1 ## Process this file with automake to produce Makefile.in
2 ACLOCAL_AMFLAGS = -I m4
4 SUBDIRS = girepository giscanner tools gir docs tests examples
5 DIST_SUBDIRS = m4 $(SUBDIRS)
6 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
10 docs/g-ir-generate.1 \
13 pkgconfigdir = $(libdir)/pkgconfig
14 pkgconfig_DATA = gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc
16 m4dir = $(datadir)/aclocal
17 m4_DATA = m4/introspection.m4
19 makedir = $(datadir)/gobject-introspection-1.0
20 dist_make_DATA = Makefile.introspection
34 @TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
35 echo "* Tagging $(VERSION)"; \
36 git tag -s -m "Tag $$VERSION" -a \
37 GOBJECT_INTROSPECTION_$$TAG && \
38 git push --tags ssh://git.gnome.org/git/gobject-introspection
40 upload-release: $(distdir).tar.bz2
41 scp $(distdir).tar.bz2 gnome.org:
42 ssh gnome.org install-module $(distdir).tar.bz2
45 @test ! -d $(top_srcdir)/.git || (test -f .git/hooks/pre-commit || (echo -e "ERROR: missing \
46 pre-commit hook.\n\ncopy misc/pre-commit to .git/hooks"; false))
47 @test ! -d $(top_srcdir)/.git || (test -x .git/hooks/pre-commit || (echo -e "ERROR: pre-commit \
48 is not executable\n\nrun chmod +x .git/hooks/pre-commit"; false))
49 @echo " PEP-8 INQUISITION"
50 @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pep8.py --repeat --exclude=config.py
51 @echo " CHECK Pyflakes"
52 @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pyflakes.py