mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
fff9e3a297
commit
2d3a68bb0c
|
@ -78,10 +78,6 @@ $(HTMLFILE): documentation.xml $(XSL_DEPS)
|
||||||
cd .. && sh configure
|
cd .. && sh configure
|
||||||
|
|
||||||
distclean:
|
distclean:
|
||||||
if test "$(USE_SYMLINKS)" = "yes" ; then \
|
@if test "$(USE_SYMLINKS)" = "yes" ; then \
|
||||||
for file in *.xml ; do \
|
rm -f `find *.xml -type l`; \
|
||||||
if test -L $$file && test "`readlink $$file`" = "../en/$$file" ; then \
|
|
||||||
rm $$file ; \
|
|
||||||
fi ; \
|
|
||||||
done ; \
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue