X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=2150f3833af380b0c2b029b178c2074224b0a2cb;hp=e584a43fa3abbf04db3de51ce2ed73041ab89357;hb=1d5d4f08cb84516d75fcb5e6ed4199b6454cccd6;hpb=c0687d3f1095c9f3c4537e0a8ac6476a3942a806 diff --git a/Makefile.am b/Makefile.am index e584a43..2150f38 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,35 +1,37 @@ -## $Id: Makefile.am,v 1.14 2004-07-28 11:15:10 adam Exp $ AUTOMAKE_OPTIONS=foreign -SUBDIRS=util bfile dfa dict isams isamb isamc isam rset data1 \ - recctrl tab index test examples include doc +ACLOCAL_AMFLAGS = -I m4 -SPEC_FILE=$(PACKAGE).spec +SUBDIRS=util bfile dfa dict isams isamb isamc rset data1 \ + tab index test examples include doc -EXTRA_DIST= README NEWS $(SPEC_FILE) idzebra.spec.in +aclocaldir=$(datadir)/aclocal +aclocal_DATA = m4/idzebra-2.0.m4 + +SPEC_FILE=idzebra.spec + +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