summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-06 20:32:47 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-06 20:32:47 +0000
commit2d3a68bb0c97dc6cd7892eec4e1044f48b947ea4 (patch)
treeaca1c5e1ed404e56a3c43cb6c7cfe14b0296fd16 /DOCS
parentfff9e3a297d0ee722243f8c19aba6ca8205ccdcc (diff)
downloadmpv-2d3a68bb0c97dc6cd7892eec4e1044f48b947ea4.tar.bz2
mpv-2d3a68bb0c97dc6cd7892eec4e1044f48b947ea4.tar.xz
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
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/xml/Makefile.inc8
1 files changed, 2 insertions, 6 deletions
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