From a53cdbabca07c577ef4911829e6eeda88da2d945 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 2 Mar 2011 16:26:06 +0000 Subject: [PATCH] 0021196: [CEA 456] Integration and merge modification for debian packages visu-install-without-docs.patch We think that building and installing the documentation should not be the default behavior but reserved to interested users visu-fix-clean.patch This patch is for cleaning completely the build directory --- doc/salome/gui/VISU/Makefile.am | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/salome/gui/VISU/Makefile.am b/doc/salome/gui/VISU/Makefile.am index 0dd6bca0..eddae869 100644 --- a/doc/salome/gui/VISU/Makefile.am +++ b/doc/salome/gui/VISU/Makefile.am @@ -43,22 +43,23 @@ docs: usr_docs clean-local: @for filen in `find . -maxdepth 1` ; do \ case $${filen} in \ - ./Makefile | ./doxyfile | ./doxyfile_idl ) ;; \ - . | .. | ./static ) ;; \ + ./Makefile* | ./doxyfile* | ./images | ./input | ./static ) ;; \ + . | .. | ./CVS ) ;; \ *) echo "Removing $${filen}" ; rm -rf $${filen} ;; \ esac ; \ done ; -install-data-local: usr_docs - $(INSTALL) -d $(DESTDIR)$(docdir)/gui/VISU - @for filen in `find . -maxdepth 1` ; do \ +install-data-local: + @if [ -e main.html ]; then \ + $(INSTALL) -d $(DESTDIR)$(docdir)/gui/VISU ; \ + for filen in `find . -maxdepth 1` ; do \ case $${filen} in \ - ./Makefile | ./doxyfile | ./doxyfile_idl ) ;; \ - ./doxyfile.bak | ./doxyfile_idl.bak ) ;; \ + ./Makefile* | ./doxyfile* ) ;; \ . | .. | ./static ) ;; \ *) echo "Installing $${filen}" ; cp -rp $${filen} $(DESTDIR)$(docdir)/gui/VISU ;; \ esac ; \ - done ; + done ; \ + fi uninstall-local: rm -rf $(DESTDIR)$(docdir)/gui/VISU -- 2.39.2