Merge branch 'tg/next__redo_url_{un}escaping' into next
[libquvi.git] / Makefile.am
blobc05fa390abc6a3f9c10f17d3c847326c62f89ed9
1 ACLOCAL_AMFLAGS=-I m4
2 EXTRA_DIST=libquvi-0.9.pc.in gen-ver.sh VERSION
4 pkgconfigdir=   $(libdir)/pkgconfig
5 pkgconfig_DATA= libquvi-0.9.pc
7 SUBDIRS=po src examples doc tests
9 .PHONY: doc distdoc distdoc-html distdoc-latex distdoc-pdf ChangeLog VERSION test test-mem
11 check: test
13 test: all
14         @(cd tests ; $(MAKE) test)
16 test-mem: all
17         @(cd tests ; $(MAKE) test-mem)
19 doc:
20         @make -C $(top_builddir)/doc/dox/ doc
21         @make -C $(top_builddir)/doc/man3/ doc
22         @make -C $(top_builddir)/doc/man7/ doc
24 distdoc-html:
25         @make -C $(top_builddir)/doc/dox/ distdoc-html
27 distdoc-latex:
28         @make -C $(top_builddir)/doc/dox/ distdoc-latex
30 distdoc-pdf:
31         @make -C $(top_builddir)/doc/dox/ distdoc-pdf
33 distdoc: distdoc-html distdoc-latex distdoc-pdf
35 VERSION:
36         @if test -d "$(top_srcdir)/.git" -o -f "$(top_srcdir)/.git"; then \
37                 "$(top_srcdir)/gen-ver.sh" "$(top_srcdir)" > $@; \
38         fi
40 ChangeLog:
41         @if test -d "$(top_srcdir)/.git" -o -f "$(top_srcdir)/.git"; then \
42                 git log --stat --name-only --date=short --abbrev-commit > $@; \
43         fi
45 dist-hook: ChangeLog VERSION
47 # vim: set ts=2 sw=2 tw=72 expandtab: