Add tests/README
[quvi.git] / Makefile.am
blobab36bd66bc0d8e80f06ab4ff0845920552fa631d
1 ACLOCAL_AMFLAGS = -I m4
3 EXTRA_DIST = \
4 libquvi.pc.in \
5 libquvi.ver \
6 doxygen.conf.in \
7 KNOWN_ISSUES \
8 ChangeLog.pre-gitlog
10 pkgconfigdir = $(libdir)/pkgconfig
11 pkgconfig_DATA = libquvi.pc
13 SUBDIRS = include lib man1 src examples share doc scripts
15 if ENABLE_TESTS
16 SUBDIRS += tests
17 endif
19 .PHONY: pod2man pod2html dox cmdline
20 pod2man:
21 if HAVE_POD2MAN
22         @POD2MAN@ -c "quvi manual" -n quvi \
23                  -s 1 -r @VERSION@ $(top_srcdir)/man1/quvi.1.pod $(top_builddir)/man1/quvi.1
24 else
25         @echo "error: configure did not find pod2man command"
26 endif
27 pod2html:
28 if HAVE_POD2HTML
29         @POD2HTML@ --title="quvi manual" \
30                 --infile=$(top_srcdir)/man1/quvi.1.pod \
31         --outfile=$(top_builddir)/man1/quvi.1.html
32 else
33         @echo "error: configure did not find pod2html command"
34 endif
35 dox:
36 if HAVE_DOXYGEN
37         @$(DOXYGEN) $(top_builddir)/doxygen.conf
38         @echo doxygen generated pages can be found in doc/ subdir
39 else
40         @echo configure did not find doxygen
41 endif
42 cmdline:
43 if HAVE_GENGETOPT
44         @GENGETOPT@ < $(top_srcdir)/src/cmdline.ggo -C --unamed-opts=URL \
45                 --output-dir $(top_srcdir)/src --no-version
46 else
47         @echo "error: configure did not find 'gengetopt' command"
48 endif
50 local-clean:
51         @rm -rf *.tmp *.core *.html
53 ChangeLog:
54         @if test -f $(top_srcdir)/.git/HEAD; then \
55                 git log --stat --after="Sun Nov 14 11:03:50 2010" > $@; \
56         fi
58 dist: ChangeLog
60 .PHONY: ChangeLog
62 distclean-local: local-clean