From 26ca46b8eb61e46a061edfc150b6cf76fed64c4e Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Sat, 31 Jul 2004 22:10:13 +0000 Subject: [PATCH] fix install bug that happens if doxygen is not present --- doc/html/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/html/Makefile.am b/doc/html/Makefile.am index 429fa47..d9dc343 100644 --- a/doc/html/Makefile.am +++ b/doc/html/Makefile.am @@ -35,8 +35,13 @@ doc_DATA = \ links.html \ news.html +if FLaC__HAS_DOXYGEN EXTRA_DIST = $(doc_DATA) api +else +EXTRA_DIST = $(doc_DATA) +endif +if FLaC__HAS_DOXYGEN # The install targets don't copy whole directories so we have to # handle 'api/' specially: install-data-local: @@ -46,3 +51,4 @@ uninstall-local: rm -rf $(DESTDIR)$(docdir)/api maintainer-clean-local: rm -rf api +endif -- 2.7.4