0021196: [CEA 456] Integration and merge modification for debian packages

geom-fix-clean.patch:
  This patch is for cleaning completely the build directory

geom-install-without-docs.patch:
  We think that building and installing the documentation should not
  be the default behavior but reserved to interested users
This commit is contained in:
eap 2011-03-01 14:48:02 +00:00
parent bdfc48d282
commit 476819a618

View File

@ -55,22 +55,23 @@ docs: usr_docs
clean-local: clean-local:
@for filen in `find . -maxdepth 1` ; do \ @for filen in `find . -maxdepth 1` ; do \
case $${filen} in \ case $${filen} in \
./Makefile | ./doxyfile | ./doxyfile_py | ./doxyfile_tui ) ;; \ ./Makefile* | ./doxyfile* | ./images | ./input | ./static ) ;; \
. | .. | ./static ) ;; \ . | .. ) ;; \
*) echo "Removing $${filen}" ; rm -rf $${filen} ;; \ *) echo "Removing $${filen}" ; rm -rf $${filen} ;; \
esac ; \ esac ; \
done ; done ;
install-data-local: usr_docs install-data-local:
$(INSTALL) -d $(DESTDIR)$(docdir)/gui/GEOM @if [ -e main.html ]; then \
@for filen in `find . -maxdepth 1` ; do \ $(INSTALL) -d $(DESTDIR)$(docdir)/gui/GEOM ; \
for filen in `find . -maxdepth 1` ; do \
case $${filen} in \ case $${filen} in \
./Makefile | ./doxyfile | ./doxyfile_py | ./doxyfile_tui ) ;; \ ./Makefile* | ./doxyfile* ) ;; \
./doxyfile.bak | ./doxyfile_py.bak | ./doxyfile_tui.bak ) ;; \
. | .. | ./static ) ;; \ . | .. | ./static ) ;; \
*) echo "Installing $${filen}" ; cp -rp $${filen} $(DESTDIR)$(docdir)/gui/GEOM ;; \ *) echo "Installing $${filen}" ; cp -rp $${filen} $(DESTDIR)$(docdir)/gui/GEOM ;; \
esac ; \ esac ; \
done ; done ; \
fi
uninstall-local: uninstall-local:
rm -rf $(DESTDIR)$(docdir)/gui/GEOM rm -rf $(DESTDIR)$(docdir)/gui/GEOM