Fix --disable-doxygen-docs install
authorAvuton Olrich <avuton@gmail.com>
Thu, 2 Feb 2012 03:46:27 +0000 (19:46 -0800)
committerAvuton Olrich <avuton@gmail.com>
Thu, 2 Feb 2012 03:46:27 +0000 (19:46 -0800)
doc/html/Makefile.am

index 2d2117f..a0e89ce 100644 (file)
@@ -69,6 +69,7 @@ doc_DATA = \
 
 EXTRA_DIST = $(doc_DATA) api
 
+if FLaC__HAS_DOXYGEN
 # The install targets don't copy whole directories so we have to
 # handle 'api/' specially:
 install-data-local:
@@ -78,3 +79,4 @@ uninstall-local:
        rm -rf $(DESTDIR)$(docdir)/api
 maintainer-clean-local:
        rm -rf api
+endif