Ignore sub directory config.
[idzebra-moved-to-github.git] / Makefile.am
1 ## $Id: Makefile.am,v 1.31 2007-03-20 22:42:19 adam Exp $
2
3 AUTOMAKE_OPTIONS=foreign
4
5 ACLOCAL_AMFLAGS = -I m4
6
7 SUBDIRS=util bfile dfa dict isams isamb isamc rset data1 \
8  tab index test examples include doc
9
10 aclocaldir=$(datadir)/aclocal
11 aclocal_DATA = m4/idzebra-2.0.m4
12
13 SPEC_FILE=idzebra.spec
14
15 EXTRA_DIST= README NEWS $(SPEC_FILE) $(SPEC_FILE).in \
16  idzebra-config-2.0.in m4/idzebra-2.0.m4 m4/yaz.m4 buildconf.sh Doxyfile.in
17
18 dist-hook:
19         if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi
20         cp $(srcdir)/LICENSE* $(distdir)
21         mkdir $(distdir)/win
22         for i in $(srcdir)/win/*; do \
23                 if test -f $$i; then \
24                         cp $$i $(distdir)/win; \
25                 fi; \
26         done
27         mkdir $(distdir)/debian
28         cp $(srcdir)/debian/*.install $(distdir)/debian
29         cp $(srcdir)/debian/*.manpages $(distdir)/debian
30         cp $(srcdir)/debian/*.postinst $(distdir)/debian
31         cp $(srcdir)/debian/*.prerm $(distdir)/debian
32         cp $(srcdir)/debian/changelog $(distdir)/debian
33         cp $(srcdir)/debian/compat $(distdir)/debian
34         cp $(srcdir)/debian/control $(distdir)/debian
35         cp $(srcdir)/debian/copyright $(distdir)/debian
36         cp $(srcdir)/debian/rules $(distdir)/debian
37
38 cvs2cl:
39         cvs2cl
40
41
42 dox:
43         doxygen
44
45 showdox:
46         doxygen
47         firefox -new-window file:///`pwd`/$(top_srcdir)/dox/html/index.html &
48
49
50 .PHONY: cvs2cl dox showdox