added target 'showdox' which launches firefox with doxygen generated HTML
[metaproxy-moved-to-github.git] / Makefile.am
index 16e47c8..f300b57 100644 (file)
@@ -1,16 +1,18 @@
+SUBDIRS = src 
+
+ACLOCAL_AMFLAGS = -I m4
+
 AUTOMAKE_OPTIONS = foreign
 
-SUBDIRS = src include etc doc 
+EXTRA_DIST = m4/yazpp.m4 m4/yaz.m4  buildconf.sh
+
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure 
 
-EXTRA_DIST= README LICENSE yazpp.m4 yaz.m4 usemarcon.m4 buildconf.sh
+# doxygen target
+.PHONY:dox
+dox:
+       doxygen
 
-dist-hook:
-       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
+.PHONY:showdox
+showdox:
+       firefox file://`pwd`/dox/html/index.html &