X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=9cb40d413f3ad6d59a80f54c1ef8eca752bae99e;hb=2b99f08490d3bd763bb086693044a6db10c0bcf9;hp=317e3ecdaedfa80c1c193b6f47efee9dbea17835;hpb=2b33b395b50c562323ea2b0251f9b798cf5241d2;p=idzebra-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index 317e3ec..9cb40d4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,28 +1,34 @@ -## $Id: Makefile.am,v 1.3 2000-10-11 12:31:27 adam Exp $ +## $Id: Makefile.am,v 1.15 2004-08-06 13:14:46 adam Exp $ AUTOMAKE_OPTIONS=foreign -EXTRA_DIST= README CHANGELOG - -if ISZMBOL -SUBDIRS=util bfile dfa dict isams isamb isamc isam rset recctrl tab index test -else -SUBDIRS=util bfile dfa dict isams rset recctrl tab index test -endif -DIST_SUBDIRS=$(SUBDIRS) include doc +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 + 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 \ cp $$i $(distdir)/win; \ fi; \ done + mkdir $(distdir)/debian + cp $(srcdir)/debian/control $(distdir)/debian + 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 -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