1 ## $Id: Makefile.am,v 1.13 2004-05-10 08:43:19 adam Exp $
3 AUTOMAKE_OPTIONS=foreign
5 SUBDIRS=util bfile dfa dict isams isamb isamc isam rset data1 \
6 recctrl tab index test examples include doc
8 SPEC_FILE=$(PACKAGE).spec
10 EXTRA_DIST= README NEWS $(SPEC_FILE) idzebra.spec.in
13 cp $(srcdir)/LICENSE* $(distdir)
15 for i in $(srcdir)/win/*; do \
16 if test -f $$i; then \
17 cp $$i $(distdir)/win; \
20 mkdir $(distdir)/debian
21 cp $(srcdir)/debian/control $(distdir)/debian
22 cp $(srcdir)/debian/changelog $(distdir)/debian
23 cp $(srcdir)/debian/rules $(distdir)/debian
24 cp $(srcdir)/debian/postinst $(distdir)/debian
25 cp $(srcdir)/debian/copyright $(distdir)/debian
26 mkdir -p $(distdir)/perl
27 for f in `cat $(srcdir)/perl/MANIFEST`; do \
28 (pdir=`cd $(distdir)/perl && pwd`; \
29 cd $(srcdir)/perl;cp --parents $$f $$pdir); \
32 rpm: $(PACKAGE)-$(VERSION).tar.gz
33 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES