Fix Metaproxy stops logging after check config failed MP-590
[metaproxy-moved-to-github.git] / Makefile.am
index b2e0eb5..0027568 100644 (file)
@@ -1,5 +1,30 @@
+## This file is part of Metaproxy
+## Copyright (C) Index Data
+## See the file LICENSE for details.
+
+SUBDIRS = xml include src etc doc
+
+ACLOCAL_AMFLAGS = -I m4
+
 AUTOMAKE_OPTIONS = foreign
 
-SUBDIRS = src 
+EXTRA_DIST = Doxyfile.in IDMETA README LICENSE NEWS m4/id-config.sh \
+             m4/yazpp.m4 m4/yaz.m4 m4/boost.m4 \
+             buildconf.sh metaproxy.spec metaproxy-config.in
+
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure 
+
+dist-hook:
+       if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi
+       mkdir $(distdir)/win
+       -cp $(srcdir)/win/* $(distdir)/win
+       mkdir $(distdir)/rpm
+       -cp $(srcdir)/rpm/* $(distdir)/rpm
+
+.PHONY:dox
+dox:
+       doxygen
 
-EXTRA_DIST= yazpp.m4 yaz.m4 usemarcon.m4 buildconf.sh
+.PHONY:debian
+debian:
+       dpkg-buildpackage -rfakeroot