summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 3444b423027d9e5bcfea4d61c7fff0c5027590b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
## Process this file with automake to produce Makefile.in
include $(top_srcdir)/gcov.mak

GCOVSOURCES =

if GI_GCOV_ENABLED
GCOV_DIRS = girepository tools

check-coverage: coverage-report.txt
	@cat $(top_builddir)/coverage-report.txt

else

check-coverage:
	@echo "ERROR: Need to reconfigure with --enable-gcov to run make check-coverage"

endif

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = girepository giscanner tools gir tests
DIST_SUBDIRS = m4 $(SUBDIRS)

man_MANS = 			\
	docs/g-ir-compiler.1	\
	docs/g-ir-generate.1	\
	docs/g-ir-scanner.1

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gobject-introspection-1.0.pc

EXTRA_DIST = 			\
	CONTRIBUTORS		\
	$(pkgconfig_DATA)	\
	$(man_MANS)		\
	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`;\
	  echo "* Tagging $(VERSION)"; \
          svn cp -m "Tag $(VERSION)" \
              $$TRUNK \
              $$ROOT/tags/GOBJECT_INTROSPECTION_$$SVNVERSION