]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
0021196: [CEA 456] Integration and merge modification for debian packages
authoreap <eap@opencascade.com>
Tue, 1 Mar 2011 12:38:57 +0000 (12:38 +0000)
committereap <eap@opencascade.com>
Tue, 1 Mar 2011 12:38:57 +0000 (12:38 +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 0179632aa2cba4b3739886fd24f477668bee9feb..51cf5e4cc9249700adc2d8efad123c522509a64f 100644 (file)
@@ -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