All sorts of new stuff and modifications in the attempt -- so far
[idzebra-moved-to-github.git] / Makefile.am
index 2096f0d..fe2df41 100644 (file)
@@ -1,11 +1,11 @@
-## $Id: Makefile.am,v 1.5 2002-09-05 14:36:20 adam Exp $
+## $Id: Makefile.am,v 1.10 2002-11-15 23:00:59 adam Exp $
 
 AUTOMAKE_OPTIONS=foreign
 
 EXTRA_DIST= README CHANGELOG 
 
-SUBDIRS=util bfile dfa dict isams isamb isamc isam rset recctrl tab index test
-DIST_SUBDIRS=$(SUBDIRS) include doc
+SUBDIRS=util bfile dfa dict isams isamb isamc isam rset data1 \
+ recctrl tab index test examples include doc
 
 SPEC_FILE=$(PACKAGE).spec
 
@@ -24,7 +24,12 @@ dist-hook:
        cp $(srcdir)/debian/changelog $(distdir)/debian
        cp $(srcdir)/debian/rules $(distdir)/debian
        cp $(srcdir)/debian/postinst $(distdir)/debian
-
+       cp $(srcdir)/debian/copyright $(distdir)/debian
+       mkdir $(distdir)/perl
+       for f in `cat $(srcdir)/perl/MANIFEST`; do \
+               (pdir=`cd $(distdir)/perl && pwd`; \
+               cd $(srcdir)/perl;cp --parents $$f $$pdir); \
+       done
 
 rpm: $(PACKAGE)-$(VERSION).tar.gz
        cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES