added Doxygen file, now supporting target 'make dox'
[pazpar2-moved-to-github.git] / Makefile.am
index f0647d2..d62f2a1 100644 (file)
@@ -1,9 +1,9 @@
 AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = src 
+SUBDIRS = src doc
 
-EXTRA_DIST = README PROTOCOL m4/yaz.m4 
+EXTRA_DIST = README m4/yaz.m4 
 
 dist-hook:
        if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; fi
@@ -11,3 +11,17 @@ dist-hook:
        cvs=`find $(distdir)/etc -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
        cp -r $(srcdir)/www $(distdir)
        cvs=`find $(distdir)/www -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
+
+
+cvs2cl:
+       cvs2cl
+
+
+dox:
+       doxygen
+
+showdox:
+       doxygen
+       galeon file:///`pwd`/$(top_srcdir)/dox/html/index.html &
+
+.PHONY: cvs2cl dox showdox