]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0021196: [CEA 456] Integration and merge modification for debian packages
authoreap <eap@opencascade.com>
Tue, 1 Mar 2011 13:47:16 +0000 (13:47 +0000)
committereap <eap@opencascade.com>
Tue, 1 Mar 2011 13:47:16 +0000 (13:47 +0000)
We think that building and installing the documentation should not
be the default behavior but reserved to interested users.

doc/salome/gui/Makefile.am

index b66041b9d65e8e6574b90e68fbb03484d718fad5..16d233d8048b878bb04e73f1691a22d17f5c2d39 100644 (file)
@@ -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