1 ACLOCAL_AMFLAGS = -I m4
8 pkgconfigdir = $(libdir)/pkgconfig
9 pkgconfig_DATA = libquvi.pc
11 SUBDIRS = man1 examples share scripts src
23 @(cd tests; $(MAKE) all test)
26 .PHONY: pod2man pod2html cmdline doc dist-doc
29 @@POD2MAN@ -c "quvi manual" -n quvi \
30 -s 1 -r @VERSION@ $(top_srcdir)/man1/quvi.1.pod \
31 $(top_builddir)/man1/quvi.1 && echo See man1/
33 @echo "error: configure did not find pod2man command"
37 @@POD2HTML@ --title="quvi manual" \
38 --infile=$(top_srcdir)/man1/quvi.1.pod \
39 --outfile=$(top_builddir)/man1/quvi.1.html && echo See man1/
41 @echo "error: configure did not find pod2html command"
45 @@GENGETOPT@ < $(top_srcdir)/src/quvi/cmdline.ggo -C --unamed-opts=URL \
46 --output-dir $(top_srcdir)/src/quvi --no-version
48 @echo "error: configure did not find 'gengetopt' command"
52 @test -d $(top_builddir)/doc/quvi-@VERSION@ || \
53 mkdir $(top_builddir)/doc/quvi-@VERSION@
54 @test -d $(top_builddir)/doc/nd_temp || \
55 mkdir $(top_builddir)/doc/nd_temp
56 @@ND@ -i $(top_srcdir)/doc/ -i $(top_srcdir)/src/ \
57 -o $(ND_FORMAT) $(top_builddir)/doc/quvi-@VERSION@/ \
58 -p $(top_builddir)/doc/nd_temp/ && echo See doc/quvi-@VERSION@
60 @echo "error: configure did not find NaturalDocs" && exit 1
63 @tar chof - $(top_builddir)/doc/quvi-@VERSION@ | \
64 GZIP=--best gzip -c >quvi-@VERSION@-doc.tar.gz \
65 && echo Created quvi-@VERSION@-doc.tar.gz
68 @if test -f $(top_srcdir)/.git/HEAD; then \
69 @GIT@ log --stat --after="Sun Nov 14 11:03:50 2010" > $@; \