-rw-r--r-- | Makefile.am | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am index c3fef99..aab3c4b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,10 +9,8 @@ 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 +18,5 @@ NEWS: NEWS.xsl NEWS.xml -all-lota-doxygen: doxydox/built -doxydox/built: $(wildcard ${top_srcdir}/include/konforka/*.h) +if HAVE_DOXYGEN +dox: ${DOXYGEN} - touch $@ - -clean-lota-doxygen: - rm -rf doxydox +endif |