Index: branches/rel8/psModules/Makefile.am
===================================================================
--- branches/rel8/psModules/Makefile.am	(revision 5312)
+++ branches/rel8/psModules/Makefile.am	(revision 5357)
@@ -8,6 +8,8 @@
 EXTRA_DIST = Doxyfile.in psmodule-config.in psmodule.pc.in
 
+if DOXYGEN
+
 docs: Doxyfile $(prefix)/docs/psmodule $(mandir)/man3
-	$(DOXYGEN)
+	doxygen Doxyfile
 	mv -f $(prefix)/docs/psmodule/man/man3/* $(mandir)/man3
 	rm -rf $(prefix)/docs/psmodule/man
@@ -24,3 +26,5 @@
 CLEANFILES = $(prefix)/docs/psmodule/*
 
+endif
+
 test: check
