From: vsr Date: Wed, 18 Apr 2012 08:01:12 +0000 (+0000) Subject: Fix problem of make distcheck on automake 1.11 (Mandriva 2010): X-Git-Tag: TRIPOLI_323~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=af8973e7c69ff094f46e1ab7b0ad1306f5fb47f4;p=modules%2Fkernel.git Fix problem of make distcheck on automake 1.11 (Mandriva 2010): - we have to uninstall only the staff generated for tui doc files and nothing more --- diff --git a/doc/salome/tui/Makefile.am b/doc/salome/tui/Makefile.am index 5698ffa26..eb465301e 100644 --- a/doc/salome/tui/Makefile.am +++ b/doc/salome/tui/Makefile.am @@ -46,4 +46,12 @@ install-data-local: fi; uninstall-local: - -test -d $(DESTDIR)$(docdir)/tui/KERNEL && chmod -R +w $(DESTDIR)$(docdir)/tui/KERNEL && rm -rf $(DESTDIR)$(docdir)/tui/KERNEL + @test -d $(DESTDIR)$(tuidocdir) && chmod -R +w $(DESTDIR)$(tuidocdir) ; \ + for filen in `find $(DESTDIR)$(tuidocdir) -mindepth 1 -maxdepth 1` dummy ; do \ + case $${filen} in \ + dummy ) ;; \ + $(DESTDIR)$(tuidocdir)/docutils ) ;; \ + $(DESTDIR)$(tuidocdir)/head.png ) ;; \ + * ) echo "removing $${filen}" && rm -rf $${filen} ;; \ + esac ; \ + done