From 3cff3acb32a4b2a2c7c2f6e940192b2952f3461a Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 18 Apr 2012 08:03:31 +0000 Subject: [PATCH] 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 --- doc/salome/tui/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/salome/tui/Makefile.am b/doc/salome/tui/Makefile.am index 6099153cc..9725980e0 100644 --- a/doc/salome/tui/Makefile.am +++ b/doc/salome/tui/Makefile.am @@ -45,4 +45,11 @@ install-data-local: fi; uninstall-local: - rm -rf $(DESTDIR)$(docdir)/tui/GUI + @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)/head.png ) ;; \ + * ) echo "removing $${filen}" && rm -rf $${filen} ;; \ + esac ; \ + done -- 2.39.2