+## This file is part of Metaproxy
+## Copyright (C) 2005-2006, Index Data ApS
+## $Id: Makefile.am,v 1.13 2006-04-27 17:01:00 adam Exp $
+
+SUBDIRS = src doc etc
+
+ACLOCAL_AMFLAGS = -I m4
+
AUTOMAKE_OPTIONS = foreign
-SUBDIRS = src
+EXTRA_DIST = Doxyfile.in NEWS README m4/yazpp.m4 m4/yaz.m4 buildconf.sh
+
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure
+
+dist-hook:
+ mkdir $(distdir)/win
+ -cp $(srcdir)/win/* $(distdir)/win
+
+# doxygen target
+.PHONY:dox
+dox:
+ doxygen
-EXTRA_DIST= yazpp.m4 yaz.m4 usemarcon.m4 buildconf.sh
+.PHONY:showdox
+showdox:
+ firefox file://`pwd`/dox/html/index.html &