From: eap Date: Tue, 1 Mar 2011 13:47:16 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: V5_1_main_FINAL~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1aedbc7a9666a6c5764fa67564133eb17762d4fe;p=modules%2Fgui.git 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. --- 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