Set LD_LIBRARY_PATH for girepository-1.0
[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 tests
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
31
32 m4dir = $(datadir)/aclocal
33 m4_DATA = m4/introspection.m4
34
35 EXTRA_DIST =                    \
36         CONTRIBUTORS            \
37         $(pkgconfig_DATA)       \
38         $(man_MANS)             \
39         misc/pep8.py            \
40         misc/pyflakes.py
41
42 release-tag:
43         @TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
44           echo "* Tagging $(VERSION)"; \
45           git tag -m "Tag $$VERSION" -a \
46               GOBJECT_INTROSPECTION_$$TAG && \
47               git push --tags ssh://git.gnome.org/git/gobject-introspection
48
49 upload-release: $(distdir).tar.gz
50         scp $(distdir).tar.gz gnome.org:
51         ssh gnome.org install-module $(distdir).tar.gz