changeset 11401:c17fc395142a

now distclean will run on systems which don't have 'readlink' anyway dunno why it was used in this target
author gabucino
date Thu, 06 Nov 2003 20:32:47 +0000
parents 0180e49c3b71
children b0c13371ebdf
files DOCS/xml/Makefile.inc
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Thu Nov 06 10:32:38 2003 +0000
+++ b/DOCS/xml/Makefile.inc	Thu Nov 06 20:32:47 2003 +0000
@@ -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