From 89bd1569189a1c6d0c33d58d64127b8ea713ac6f Mon Sep 17 00:00:00 2001 From: Vreixo Formoso Date: Thu, 31 Jan 2008 17:07:31 +0100 Subject: [PATCH] Don't try to install docs if they have not been generated. --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d4c2149..f16896c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)