From 1aedbc7a9666a6c5764fa67564133eb17762d4fe Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 1 Mar 2011 13:47:16 +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 b66041b9d..16d233d80 100644 --- a/doc/salome/gui/Makefile.am +++ b/doc/salome/gui/Makefile.am @@ -40,9 +40,11 @@ docs: usr_docs clean-local: -rm -fr GUI doxygen.bak -install-data-local: usr_docs - $(INSTALL) -d $(DESTDIR)$(docdir)/gui - cp -rp GUI $(DESTDIR)$(docdir)/gui +install-data-local: + if test -d GUI; then \ + $(INSTALL) -d $(DESTDIR)$(docdir)/gui ; \ + cp -rp GUI $(DESTDIR)$(docdir)/gui ; \ + fi uninstall-local: rm -rf $(DESTDIR)$(docdir)/gui/GUI -- 2.39.2