fix install bug that happens if doxygen is not present
authorJosh Coalson <jcoalson@users.sourceforce.net>
Sat, 31 Jul 2004 22:10:13 +0000 (22:10 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Sat, 31 Jul 2004 22:10:13 +0000 (22:10 +0000)
doc/html/Makefile.am

index 429fa47..d9dc343 100644 (file)
@@ -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