Post release version bump
[gnome.gobject-introspection] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 include $(top_srcdir)/gcov.mak
3
4 GCOVSOURCES =
5
6 if GI_GCOV_ENABLED
7 GCOV_DIRS = girepository tools
8
9 check-coverage: coverage-report.txt
10         @cat $(top_builddir)/coverage-report.txt
11
12 else
13
14 check-coverage:
15         @echo "ERROR: Need to reconfigure with --enable-gcov to run make check-coverage"
16
17 endif
18
19 ACLOCAL_AMFLAGS = -I m4
20
21 SUBDIRS = girepository giscanner tools gir docs tests examples
22 DIST_SUBDIRS = m4 $(SUBDIRS)
23
24 man_MANS =                      \
25         docs/g-ir-compiler.1    \
26         docs/g-ir-generate.1    \
27         docs/g-ir-scanner.1
28
29 pkgconfigdir = $(libdir)/pkgconfig
30 pkgconfig_DATA = gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc
31
32 m4dir = $(datadir)/aclocal
33 m4_DATA = m4/introspection.m4
34
35 makedir = $(datadir)/gobject-introspection-1.0
36 dist_make_DATA = Makefile.introspection
37
38 EXTRA_DIST =                    \
39         COPYING.LGPL            \
40         COPYING.GPL             \
41         CONTRIBUTORS            \
42         $(pkgconfig_DATA)       \
43         $(man_MANS)             \
44         $(m4_DATA)              \
45         misc/pep8.py            \
46         misc/pyflakes.py
47
48 release-tag:
49         @TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
50           echo "* Tagging $(VERSION)"; \
51           git tag -s -m "Tag $$VERSION" -a \
52               GOBJECT_INTROSPECTION_$$TAG && \
53               git push --tags ssh://git.gnome.org/git/gobject-introspection
54
55 upload-release: $(distdir).tar.gz
56         scp $(distdir).tar.gz gnome.org:
57         ssh gnome.org install-module $(distdir).tar.gz
58
59 check-local:
60         @echo "  PEP-8 INQUISITION"
61         @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pep8.py --repeat --exclude=config.py
62         @echo "  CHECK Pyflakes"
63         @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pyflakes.py