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
This commit is contained in:
vsr 2012-04-18 12:46:07 +00:00
parent be503b1313
commit 2cafde6609

View File

@ -42,4 +42,13 @@ install-data-local:
fi;
uninstall-local:
rm -rf $(DESTDIR)$(docdir)/tui/SMESH
@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 ) ;; \
$(DESTDIR)$(tuidocdir)/smeshscreen.png ) ;; \
* ) echo "removing $${filen}" && rm -rf $${filen} ;; \
esac ; \
done