data1 part of zebra
[idzebra-moved-to-github.git] / Makefile.am
1 ## $Id: Makefile.am,v 1.8 2002-10-22 12:51:08 adam Exp $
2
3 AUTOMAKE_OPTIONS=foreign
4
5 EXTRA_DIST= README CHANGELOG 
6
7 SUBDIRS=util bfile dfa dict isams isamb isamc isam rset data1 \
8  recctrl tab index test include doc
9
10 SPEC_FILE=$(PACKAGE).spec
11
12 dist-hook:
13         cd doc; make
14         cp $(srcdir)/LICENSE* $(distdir)
15         cp $(srcdir)/*.spec $(distdir)
16         mkdir $(distdir)/win
17         for i in $(srcdir)/win/*; do \
18                 if test -f $$i; then \
19                         cp $$i $(distdir)/win; \
20                 fi; \
21         done
22         mkdir $(distdir)/debian
23         cp $(srcdir)/debian/control $(distdir)/debian
24         cp $(srcdir)/debian/changelog $(distdir)/debian
25         cp $(srcdir)/debian/rules $(distdir)/debian
26         cp $(srcdir)/debian/postinst $(distdir)/debian
27         cp $(srcdir)/debian/copyright $(distdir)/debian
28
29
30 rpm: $(PACKAGE)-$(VERSION).tar.gz
31         cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
32         rpm -ba $(SPEC_FILE)