X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=27762d5c3fc8772fcb1b20ba0cf08981c57245d9;hb=13bf0c380e98816595127291b64368dd9b8ca639;hp=a99e513643e9f72de770ddd38bf9c203ed42aa4a;hpb=aa36decbdd330b8858eac641056bf607a8eea8a1;p=idzebra-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index a99e513..27762d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,16 @@ -## $Id: Makefile.am,v 1.9 2002-10-30 13:59:42 adam Exp $ +## $Id: Makefile.am,v 1.16 2004-08-29 12:31:32 adam Exp $ AUTOMAKE_OPTIONS=foreign -EXTRA_DIST= README CHANGELOG - -SUBDIRS=util bfile dfa dict isams isamb isamc isam rset data1 \ +SUBDIRS=util bfile dfa dict isams isamb isamc rset data1 \ recctrl tab index test examples include doc SPEC_FILE=$(PACKAGE).spec +EXTRA_DIST= README NEWS $(SPEC_FILE) idzebra.spec.in idzebra-config.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