Move Perl away. It is now a separate CVS project: idzebra-perl
[idzebra-moved-to-github.git] / Makefile.am
1 ## $Id: Makefile.am,v 1.18 2004-09-28 12:52:03 adam Exp $
2
3 AUTOMAKE_OPTIONS=foreign
4
5 SUBDIRS=util bfile dfa dict isams isamb isamc rset data1 \
6  recctrl tab index test examples include doc
7
8 aclocaldir=$(datadir)/aclocal
9 aclocal_DATA = idzebra.m4
10
11 SPEC_FILE=$(PACKAGE).spec
12
13 EXTRA_DIST= README NEWS $(SPEC_FILE) idzebra.spec.in \
14  idzebra-config.in idzebra.m4
15
16 dist-hook:
17         cp $(srcdir)/LICENSE* $(distdir)
18         mkdir $(distdir)/win
19         for i in $(srcdir)/win/*; do \
20                 if test -f $$i; then \
21                         cp $$i $(distdir)/win; \
22                 fi; \
23         done
24         mkdir $(distdir)/debian
25         cp $(srcdir)/debian/control $(distdir)/debian
26         cp $(srcdir)/debian/changelog $(distdir)/debian
27         cp $(srcdir)/debian/rules $(distdir)/debian
28         cp $(srcdir)/debian/postinst $(distdir)/debian
29         cp $(srcdir)/debian/copyright $(distdir)/debian
30
31 rpm: $(PACKAGE)-$(VERSION).tar.gz
32         cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
33         rpm -ba $(SPEC_FILE)