From: vsr Date: Wed, 18 Apr 2012 12:36:37 +0000 (+0000) Subject: Fix problem of make distcheck on automake 1.11 (Mandriva 2010): X-Git-Tag: TRIPOLI_323~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4482331f8a5600d69e25b777e631506474842c1b;p=tools%2Fmedcoupling.git Fix problem of make distcheck on automake 1.11 (Mandriva 2010): - we have to uninstall only the staff generated for doc files and nothing more --- diff --git a/doc/salome/tui/Makefile.am b/doc/salome/tui/Makefile.am index e5d309051..7a3c472c1 100644 --- a/doc/salome/tui/Makefile.am +++ b/doc/salome/tui/Makefile.am @@ -38,4 +38,11 @@ install-data-local: fi; uninstall-local: - rm -rf $(DESTDIR)$(docdir)/tui/MED \ No newline at end of file + @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