WRBUF updates
[yazpp-moved-to-github.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 SUBDIRS = src include zlint zoom doc 
4
5 ACLOCAL_AMFLAGS = -I m4
6
7 aclocaldir=$(datadir)/aclocal
8 aclocal_DATA = m4/yazpp.m4
9
10 EXTRA_DIST= LICENSE TODO yazpp-config.in m4/yaz.m4 m4/yazpp.m4 buildconf.sh
11
12 dist-hook:
13         if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; fi
14         mkdir $(distdir)/win
15         cp $(srcdir)/win/makefile $(distdir)/win/
16         mkdir $(distdir)/debian
17         cp $(srcdir)/debian/control $(distdir)/debian
18         cp $(srcdir)/debian/changelog $(distdir)/debian
19         cp $(srcdir)/debian/rules $(distdir)/debian
20         cp $(srcdir)/debian/*.postinst $(distdir)/debian
21         cp $(srcdir)/debian/*.install $(distdir)/debian
22
23
24 # doxygen target
25 .PHONY:dox
26 dox:
27         doxygen
28
29 .PHONY:firefox
30 firefox:
31         firefox  -new-window file://`pwd`/dox/html/index.html &
32
33 .PHONY:konqueror
34 konqueror:
35         konqueror file://`pwd`/dox/html/index.html &
36
37 .PHONY:galeon
38 galeon:
39         galeon file://`pwd`/dox/html/index.html &
40
41 .PHONY:epiphany
42 epiphany:
43         epiphany --new-window file://`pwd`/dox/html/index.html &