From 2d3a68bb0c97dc6cd7892eec4e1044f48b947ea4 Mon Sep 17 00:00:00 2001 From: gabucino Date: Thu, 6 Nov 2003 20:32:47 +0000 Subject: now distclean will run on systems which don't have 'readlink' anyway dunno why it was used in this target git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11402 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/Makefile.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'DOCS/xml') diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc index 34f5e5eb43..2edb7ebce0 100644 --- a/DOCS/xml/Makefile.inc +++ b/DOCS/xml/Makefile.inc @@ -78,10 +78,6 @@ $(HTMLFILE): documentation.xml $(XSL_DEPS) cd .. && sh configure distclean: - if test "$(USE_SYMLINKS)" = "yes" ; then \ - for file in *.xml ; do \ - if test -L $$file && test "`readlink $$file`" = "../en/$$file" ; then \ - rm $$file ; \ - fi ; \ - done ; \ + @if test "$(USE_SYMLINKS)" = "yes" ; then \ + rm -f `find *.xml -type l`; \ fi -- cgit v1.2.3