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

View File

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