added make firefox , make galeon ... targets to display metaproxy doxygen docs
[metaproxy-moved-to-github.git] / Makefile.am
index 16e47c8..82b329d 100644 (file)
@@ -1,16 +1,40 @@
+## This file is part of Metaproxy
+## Copyright (C) 2005-2006, Index Data ApS
+## $Id: Makefile.am,v 1.16 2006-09-29 08:57:15 marc Exp $
+
+SUBDIRS = src doc etc
+
+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 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:ephiphany
+ephiphany:
+       ephiphany file://`pwd`/dox/html/index.html &
+