1 ACLOCAL_AMFLAGS = -I m4
6 gobject-introspection \
32 gobject-introspection \
36 pkgconfigdir = $(libdir)/pkgconfig
37 pkgconfig_DATA = vala-1.0.pc
41 find $(top_srcdir) -name "*.vala.stamp" | xargs rm -f
42 $(MAKE) $(AM_MAKEFLAGS) all VALAC=$(abs_top_builddir)/compiler/valac
46 cd tests && $(MAKE) $(AM_MAKEFLAGS) check
49 .PHONY: coverage coverage-report
51 find $(top_srcdir) -name "*.gcda" | xargs rm -f
52 $(MAKE) $(AM_MAKEFLAGS) bootstrap
53 $(MAKE) $(AM_MAKEFLAGS) test
55 coverage-report: coverage
56 lcov --directory $(top_srcdir) --capture --output-file $(top_builddir)/lcov.info
57 lcov --directory $(top_srcdir) --output-file $(top_builddir)/lcov.info --remove $(top_builddir)/lcov.info "*.c" "*.h" "*.vapi"
58 rm -r $(top_builddir)/coverage
59 $(mkdir_p) $(top_builddir)/coverage
60 genhtml --title "@PACKAGE_STRING@" --output-directory $(top_builddir)/coverage $(top_builddir)/lcov.info
63 dist-hook: gen-ChangeLog
65 gen_start_date = 2009-02-25
68 if test -d .git; then \
69 $(top_srcdir)/gitlog-to-changelog \
70 --since=$(gen_start_date) > $(distdir)/cl-t; \
71 rm -f $(distdir)/ChangeLog; \
72 mv $(distdir)/cl-t $(distdir)/ChangeLog; \