jsdemo included in distribution. It illustrates the use of the js/pz2.js
[pazpar2-moved-to-github.git] / Makefile.am
1 # $Id: Makefile.am,v 1.13 2007-06-20 14:11:41 adam Exp $
2
3 AUTOMAKE_OPTIONS = foreign
4 ACLOCAL_AMFLAGS = -I m4
5
6 SUBDIRS = src test js doc
7
8 EXTRA_DIST = README NEWS LICENSE buildconf.sh Doxyfile.in m4/yaz.m4 
9
10 dist-hook:
11         if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; cp ChangeLog $(distdir); fi
12         cp -r $(srcdir)/etc $(distdir)
13         cvs=`find $(distdir)/etc -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
14         mkdir -p $(distdir)/www/test1
15         for f in $(srcdir)/www/test1/*; do \
16                 test -f $$f && cp $$f $(distdir)/www/test1; \
17         done; exit 0
18         mkdir -p $(distdir)/www/jsdemo
19         for f in $(srcdir)/www/jsdemo/*; do \
20                 test -f $$f && cp $$f $(distdir)/www/jsdemo; \
21         done; exit 0
22         mkdir $(distdir)/debian
23         for f in $(srcdir)/debian/*; do \
24                 test -f $$f && cp $$f $(distdir)/debian; \
25         done; exit 0
26
27 cvs2cl:
28         cvs2cl
29
30
31 dox:
32         doxygen
33
34 showdox:
35         doxygen
36         galeon file:///`pwd`/$(top_srcdir)/dox/html/index.html &
37
38 .PHONY: cvs2cl dox showdox