X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=e584a43fa3abbf04db3de51ce2ed73041ab89357;hb=5c42d0e2ea62bdf3a84977b094ae2fb96309b3c5;hp=e23d08675f8d82c494dc207c8648cae255c01c73;hpb=b5b9a40216a338472c3410c8e2554a7a8a900a60;p=idzebra-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index e23d086..e584a43 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,16 @@ -## $Id: Makefile.am,v 1.6 2002-09-11 20:27:52 adam Exp $ +## $Id: Makefile.am,v 1.14 2004-07-28 11:15:10 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 +EXTRA_DIST= README NEWS $(SPEC_FILE) idzebra.spec.in + dist-hook: - cd doc; make cp $(srcdir)/LICENSE* $(distdir) - cp $(srcdir)/*.spec $(distdir) mkdir $(distdir)/win for i in $(srcdir)/win/*; do \ if test -f $$i; then \ @@ -25,7 +23,12 @@ dist-hook: cp $(srcdir)/debian/rules $(distdir)/debian cp $(srcdir)/debian/postinst $(distdir)/debian cp $(srcdir)/debian/copyright $(distdir)/debian - + mkdir -p $(distdir)/perl + cd $(srcdir)/perl && ./doswig + 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