Don't try to install docs if they have not been generated.

This commit is contained in:
Vreixo Formoso 2008-01-31 17:07:31 +01:00
parent 99298c10a4
commit 89bd156918
1 changed files with 4 additions and 2 deletions

View File

@ -147,8 +147,10 @@ doc/html: doc/doxygen.conf
doxygen doc/doxygen.conf;
install-data-local:
if [ -d doc/html ]; then \
$(mkinstalldirs) $(docdir)/html; \
$(INSTALL_DATA) doc/html/* $(docdir)/html;
$(INSTALL_DATA) doc/html/* $(docdir)/html; \
fi
uninstall-local:
rm -rf $(docdir)