tests: Add media/break.mk to media/tests.mk
[libquvi-scripts.git] / Makefile.am
blob05a80de235f3fe715ba4c9e55a87e434535a0bb6
1 ACLOCAL_AMFLAGS=-I m4
2 EXTRA_DIST=     gen-ver.sh libquvi-scripts-1.0.pc.in VERSION
4 SUBDIRS=        share
5 if WITH_MANUAL
6 SUBDIRS+=       doc
7 endif
9 pkgconfigdir=   $(libdir)/pkgconfig
10 pkgconfig_DATA= libquvi-scripts-1.0.pc
12 .PHONY: test stamp_scripts ChangeLog VERSION
14 if WITH_TESTS
15 SUBDIRS+=       tests
17 check: test
19 test: all
20         @(cd tests ; $(MAKE) test)
21 endif # WITH_TESTS
23 stamp_scripts:
24         @if test -x "$(top_srcdir)/stamp.sh"; then \
25                 "$(top_srcdir)/stamp.sh" "$(top_srcdir)" "$(top_distdir)"; \
26         fi
28 VERSION:
29         @if test -d "$(top_srcdir)/.git" -o -f "$(top_srcdir)/.git"; then \
30                 "$(top_srcdir)/gen-ver.sh" "$(top_srcdir)" > $@; \
31         fi
33 ChangeLog:
34         @if test -d "$(top_srcdir)/.git" -o -f "$(top_srcdir)/.git"; then \
35                 git log --stat --name-only --date=short --abbrev-commit > $@; \
36         fi
38 dist-hook: VERSION stamp_scripts ChangeLog