updated boost autoconf checks - hopefully now running on FreeBSD also
[metaproxy-moved-to-github.git] / Makefile.am
index 16e47c8..ad53ce7 100644 (file)
@@ -1,16 +1,42 @@
+## This file is part of Metaproxy
+## Copyright (C) 2005-2007, Index Data ApS
+## $Id: Makefile.am,v 1.22 2007-02-26 11:40:03 marc Exp $
+
+SUBDIRS = xml src etc doc
+
+ACLOCAL_AMFLAGS = -I m4
+
 AUTOMAKE_OPTIONS = foreign
 
-SUBDIRS = src include etc doc 
+EXTRA_DIST = Doxyfile.in NEWS README LICENSE \
+             m4/yazpp.m4 m4/yaz.m4 m4/ax_boost.m4 \
+             buildconf.sh
 
-EXTRA_DIST= README LICENSE yazpp.m4 yaz.m4 usemarcon.m4 buildconf.sh
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure 
 
 dist-hook:
+       if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; fi
        mkdir $(distdir)/win
-       cp $(srcdir)/win/makefile $(distdir)/win/
-       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/compat $(distdir)/debian
-       cp $(srcdir)/debian/*.install $(distdir)/debian
+       -cp $(srcdir)/win/* $(distdir)/win
+
+# doxygen target
+.PHONY:dox
+dox:
+       doxygen
+
+.PHONY:firefox
+firefox:
+       firefox  -new-window file://`pwd`/dox/html/index.html &
+
+.PHONY:konqueror
+konqueror:
+       konqueror file://`pwd`/dox/html/index.html &
+
+.PHONY:galeon
+galeon:
+       galeon file://`pwd`/dox/html/index.html &
+
+.PHONY:epiphany
+epiphany:
+       epiphany --new-window file://`pwd`/dox/html/index.html &
+