Added support of the complex indexing for MARC records (whithout documentation yet).
[idzebra-moved-to-github.git] / Makefile.am
1 ## $Id: Makefile.am,v 1.12 2003-02-28 12:33:38 oleg Exp $
2
3 AUTOMAKE_OPTIONS=foreign
4
5 SUBDIRS=util bfile dfa dict isams isamb isamc isam rset data1 \
6  recctrl tab index test examples include doc
7
8 SPEC_FILE=$(PACKAGE).spec
9
10 EXTRA_DIST= README CHANGELOG $(SPEC_FILE) idzebra.spec.in
11
12 dist-hook:
13         cp $(srcdir)/LICENSE* $(distdir)
14         mkdir $(distdir)/win
15         for i in $(srcdir)/win/*; do \
16                 if test -f $$i; then \
17                         cp $$i $(distdir)/win; \
18                 fi; \
19         done
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); \
30         done
31
32 rpm: $(PACKAGE)-$(VERSION).tar.gz
33         cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
34         rpm -ba $(SPEC_FILE)