X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=2150f3833af380b0c2b029b178c2074224b0a2cb;hp=9cb40d413f3ad6d59a80f54c1ef8eca752bae99e;hb=c00bfddbf0f3608340d61298acc61dafb167f9b2;hpb=f7e93f016e75e43d037b5c3e89aeb27b7176513a diff --git a/Makefile.am b/Makefile.am index 9cb40d4..2150f38 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,35 +1,37 @@ -## $Id: Makefile.am,v 1.15 2004-08-06 13:14:46 adam Exp $ AUTOMAKE_OPTIONS=foreign +ACLOCAL_AMFLAGS = -I m4 + SUBDIRS=util bfile dfa dict isams isamb isamc rset data1 \ - recctrl tab index test examples include doc + tab index test examples include doc + +aclocaldir=$(datadir)/aclocal +aclocal_DATA = m4/idzebra-2.0.m4 -SPEC_FILE=$(PACKAGE).spec +SPEC_FILE=idzebra.spec -EXTRA_DIST= README NEWS $(SPEC_FILE) idzebra.spec.in +EXTRA_DIST= README NEWS IDMETA $(SPEC_FILE) m4/id-config.sh \ + idzebra-config-2.0.in m4/idzebra-2.0.m4 m4/yaz.m4 buildconf.sh Doxyfile.in dist-hook: + if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi cp $(srcdir)/LICENSE* $(distdir) - mkdir $(distdir)/win + test -d $(distdir)/win || 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 + mkdir $(distdir)/rpm + -cp $(srcdir)/rpm/* $(distdir)/rpm + +dox: + doxygen + +showdox: + doxygen + firefox -new-window file:///`pwd`/$(top_srcdir)/dox/html/index.html & + -rpm: $(PACKAGE)-$(VERSION).tar.gz - cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES - rpm -ba $(SPEC_FILE) +.PHONY: dox showdox