[MPlayer-DOCS] CVS: main/DOCS/xml Makefile.inc,1.9,1.10

Gabucino gabucino at mplayerhq.hu
Thu Nov 6 21:32:49 CET 2003


Update of /cvsroot/mplayer/main/DOCS/xml
In directory mail:/var/tmp.root/cvs-serv18338

Modified Files:
	Makefile.inc 
Log Message:
now distclean will run on systems which don't have 'readlink'
anyway dunno why it was used in this target


Index: Makefile.inc
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/Makefile.inc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile.inc	30 Oct 2003 12:10:09 -0000	1.9
+++ Makefile.inc	6 Nov 2003 20:32:47 -0000	1.10
@@ -78,10 +78,6 @@
 	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



More information about the MPlayer-DOCS mailing list