X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=c4dcaefbcca8e6ab439bed00ebc08c7ead02cae0;hb=a5a9ab496df5831c54837888292e7132b3172579;hp=a99e513643e9f72de770ddd38bf9c203ed42aa4a;hpb=aa36decbdd330b8858eac641056bf607a8eea8a1;p=idzebra-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index a99e513..c4dcaef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,20 @@ -## $Id: Makefile.am,v 1.9 2002-10-30 13:59:42 adam Exp $ +## $Id: Makefile.am,v 1.17 2004-09-15 09:17:25 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 +aclocaldir=$(datadir)/aclocal +aclocal_DATA = idzebra.m4 + SPEC_FILE=$(PACKAGE).spec +EXTRA_DIST= README NEWS $(SPEC_FILE) idzebra.spec.in \ + idzebra-config.in idzebra.m4 + 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 +27,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