From: eap Date: Wed, 2 Mar 2011 08:18:04 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: V5_1_main_FINAL~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96b831a24df70680d86660aa3e1021316090ad38;p=tools%2Fmedcoupling.git 0021196: [CEA 456] Integration and merge modification for debian packages med-install-without-docs.patch We think that building and installing the documentation should not be the default behavior but reserved to interested users --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 009fce1dc..9d0407e3a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -22,3 +22,5 @@ SUBDIRS = MEDMEM salome doxygen dev_docs: (cd salome && $(MAKE) $(AM_MAKEFLAGS) dev_docs) +usr_docs: + (cd doxygen && $(MAKE) $(AM_MAKEFLAGS) html-local) diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am index 178b3c688..efd0b7a74 100644 --- a/doc/doxygen/Makefile.am +++ b/doc/doxygen/Makefile.am @@ -26,8 +26,10 @@ DOX_INPUT_FILE = Doxyfile_med_user guidocdir = $(docdir)/gui/MED guidoc_DATA = images/head.png -install-data-local : html-local - $(INSTALL) -d $(DESTDIR)$(docdir)/gui/MED +install-data-local : + @if test -d doc_ref_user; then \ + $(INSTALL) -d $(DESTDIR)$(docdir)/gui/MED; \ + fi @if test -d doc_ref_user/html ; then \ for filen in `find doc_ref_user/html -maxdepth 1 -type f` ; do\ echo "Installing $${filen}" ; \