dom: accept type="adelete" (accept bad deletes)
[idzebra-moved-to-github.git] / Makefile.am
index c4dcaef..972e98b 100644 (file)
@@ -1,39 +1,35 @@
-## $Id: Makefile.am,v 1.17 2004-09-15 09:17:25 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 = idzebra.m4
+aclocal_DATA = m4/idzebra-2.0.m4
 
-SPEC_FILE=$(PACKAGE).spec
+SPEC_FILE=idzebra.spec
 
-EXTRA_DIST= README NEWS $(SPEC_FILE) idzebra.spec.in \
- idzebra-config.in idzebra.m4
+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
 
-rpm: $(PACKAGE)-$(VERSION).tar.gz
-       cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
-       rpm -ba $(SPEC_FILE)
+dox:
+       doxygen
+
+showdox:
+       doxygen
+       firefox -new-window file:///`pwd`/$(top_srcdir)/dox/html/index.html &
+
+
+.PHONY: dox showdox