From e549ee1008ff24a42e509c12d66b31518f042029 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 1 Mar 2011 12:38:57 +0000 Subject: [PATCH] 0021196: [CEA 456] Integration and merge modification for debian packages We think that building and installing the documentation should not be the default behavior but reserved to interested users --- doc/salome/gui/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/salome/gui/Makefile.am b/doc/salome/gui/Makefile.am index 0179632aa..51cf5e4cc 100644 --- a/doc/salome/gui/Makefile.am +++ b/doc/salome/gui/Makefile.am @@ -33,9 +33,11 @@ usr_docs: doxyfile docs: usr_docs -install-data-local: usr_docs - $(INSTALL) -d $(DESTDIR)$(docdir)/gui - cp -rp KERNEL $(DESTDIR)$(docdir)/gui +install-data-local: + if test -d KERNEL; then \ + $(INSTALL) -d $(DESTDIR)$(docdir)/gui ; \ + cp -rp KERNEL $(DESTDIR)$(docdir)/gui ; \ + fi uninstall-local: rm -rf $(DESTDIR)$(docdir)/gui/KERNEL -- 2.39.2