fix install bug that happens if doxygen is not present

This commit is contained in:
Josh Coalson
2004-07-31 22:10:13 +00:00
parent 1aca6b114b
commit 26ca46b8eb

View 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