For directory perl 'make dist' reads MANIFEST
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 15 Nov 2002 23:00:59 +0000 (23:00 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 15 Nov 2002 23:00:59 +0000 (23:00 +0000)
Makefile.am
perl/MANIFEST

index a99e513..fe2df41 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.9 2002-10-30 13:59:42 adam Exp $
+## $Id: Makefile.am,v 1.10 2002-11-15 23:00:59 adam Exp $
 
 AUTOMAKE_OPTIONS=foreign
 
@@ -25,7 +25,11 @@ dist-hook:
        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
index de8d4f6..10f949b 100644 (file)
@@ -1,33 +1,13 @@
 IDZebra.i
 IDZebra_wrap.c
 MANIFEST
-MANIFEST.bak
-Makefile
-Makefile.PL
 Makefile.PL.in
-Makefile.old
 README
 demo/filter_test.pl
 demo/index.sh
-demo/lock/norm..LCK
-demo/lock/shadow..LCK
-demo/lock/state..LCK
 demo/pod.abs
 demo/pod.pm
-demo/register/dict-0.mf
-demo/register/gmatch-0.mf
-demo/register/isamcA-0.mf
-demo/register/isamcB-0.mf
-demo/register/isamcC-0.mf
-demo/register/isamcD-0.mf
-demo/register/isamcE-0.mf
-demo/register/isamcF-0.mf
-demo/register/recdA-0.mf
-demo/register/recdB-0.mf
-demo/register/reci-0.mf
-demo/register/sort4-0.mf
 demo/zebra.cfg
-demo/zebra.cfg~
 doclean
 doswig
 lib/IDZebra.pm