added Doxygen file, now supporting target 'make dox'
[pazpar2-moved-to-github.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 ACLOCAL_AMFLAGS = -I m4
3
4 SUBDIRS = src doc
5
6 EXTRA_DIST = README m4/yaz.m4 
7
8 dist-hook:
9         if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; fi
10         cp -r $(srcdir)/etc $(distdir)
11         cvs=`find $(distdir)/etc -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
12         cp -r $(srcdir)/www $(distdir)
13         cvs=`find $(distdir)/www -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
14
15
16 cvs2cl:
17         cvs2cl
18
19
20 dox:
21         doxygen
22
23 showdox:
24         doxygen
25         galeon file:///`pwd`/$(top_srcdir)/dox/html/index.html &
26
27 .PHONY: cvs2cl dox showdox