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