-rw-r--r-- | Makefile.am | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am index 9833732..3e9f0f1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,13 +6,14 @@ if HAVE_PKGCONFIG pkgconfigdir=@PKGCONFIG_DIR@ -pkgconfig_DATA=kingate.pc kingate-fcgi.pc +pkgconfig_DATA=kingate.pc kingate-plaincgi.pc +if HAVE_FCGI +pkgconfig_DATA += kingate-fcgi.pc +endif endif -LOCAL_TARGETS= +all-local: NEWS if HAVE_DOXYGEN -LOCAL_TARGETS+=doxygen +clean-local: + rm -rf doxydox endif -all-local: NEWS $(addprefix all-lota-,${LOCAL_TARGETS}) -clean-local: $(addprefix clean-lota-,${LOCAL_TARGETS}) - NEWS: NEWS.xsl NEWS.xml @@ -20,8 +21,5 @@ NEWS: NEWS.xsl NEWS.xml -all-lota-doxygen: doxydox/built -doxydox/built: $(wildcard ${top_srcdir}/include/kingate/*.h) +if HAVE_DOXYGEN +dox: ${DOXYGEN} - touch $@ - -clean-lota-doxygen: - rm -rf doxydox +endif |