Index: /trunk/Nebulous/nebclient/Makefile.am
===================================================================
--- /trunk/Nebulous/nebclient/Makefile.am	(revision 4653)
+++ /trunk/Nebulous/nebclient/Makefile.am	(revision 4654)
@@ -1,5 +1,5 @@
 # Copyright (C) 2005  Joshua Hoblitt
 #
-# $Id: Makefile.am,v 1.8 2005-07-29 01:20:51 jhoblitt Exp $
+# $Id: Makefile.am,v 1.9 2005-07-29 01:43:13 jhoblitt Exp $
 
 SUBDIRS = src tests
@@ -9,2 +9,11 @@
 
 EXTRA_DIST = nebulous.wsdl
+
+man_MANS = \
+    $(top_builddir)/docs/man/man3/@PACKAGE@.3
+
+docs/man/man3/@PACKAGE@.3
+	$(DOXYGEN)
+
+clean-local:
+	-rm -rf docs
Index: /trunk/Nebulous/nebclient/configure.ac
===================================================================
--- /trunk/Nebulous/nebclient/configure.ac	(revision 4653)
+++ /trunk/Nebulous/nebclient/configure.ac	(revision 4654)
@@ -1,5 +1,5 @@
 dnl Copyright (C) 2005  Joshua Hoblitt
 dnl
-dnl $Id: configure.ac,v 1.8 2005-07-29 01:20:51 jhoblitt Exp $
+dnl $Id: configure.ac,v 1.9 2005-07-29 01:43:13 jhoblitt Exp $
 
 AC_PREREQ(2.59)
@@ -17,4 +17,15 @@
 AC_PROG_LIBTOOL
 
+AC_PATH_PROG([DOXYGEN], [doxygen], [missing])
+if test "$DOXYGEN" = "missing" ; then
+  AC_MSG_ERROR([doxygen is required])
+fi
+
+dnl needed by doxygen
+AC_PATH_PROG([PERL], [perl], [missing])
+if test "$PERL" = "missing" ; then
+  AC_MSG_ERROR([perl is required])
+fi
+
 AM_CFLAGS="-Wall -pedantic -std=c99 -fno-strict-aliasing"
 AC_SUBST([AM_CFLAGS])
@@ -23,4 +34,5 @@
   Makefile
   nebclient.pc
+  Doxyfile
   src/Makefile
   tests/Makefile
