From 36f341109287f42f33a4ed3d25746741bdfb71f4 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 19 Mar 2010 13:59:02 +0100 Subject: Generate doxygen documentation for path_utils --- common/path_utils/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'common/path_utils/Makefile.am') diff --git a/common/path_utils/Makefile.am b/common/path_utils/Makefile.am index 45910a92..5cd797b7 100644 --- a/common/path_utils/Makefile.am +++ b/common/path_utils/Makefile.am @@ -7,6 +7,8 @@ endif ACLOCAL_AMFLAGS = -I m4 +DOXYGEN = @DOXYGEN@ + pkgconfigdir = $(libdir)/pkgconfig dist_pkgconfig_DATA = path_utils.pc @@ -34,3 +36,15 @@ path_utils_ut_LDADD = \ TESTS = $(check_PROGRAMS) tests: all $(check_PROGRAMS) + +if HAVE_DOXYGEN +docs: + rm -fR doc + mkdir -p doc + $(DOXYGEN) path_utils.cfg.doxy +else +docs: + @echo "Doxygen not installed, cannot generate documentation" + @exit 1 +endif + -- cgit