gauche (0.9.1-5.1) 03_rm_without_xlink.patch

Summary

 ext/Makefile.ext.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Description: Fix make clean/distclean process
 Don't use xlink because it uses 'gosh'.
Forwarded: Not-Yet
Author: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2010-03-03

--- gauche-0.9.orig/ext/Makefile.ext.in
+++ gauche-0.9/ext/Makefile.ext.in
@@ -123,5 +123,5 @@ link :
 	  -b $(top_builddir) -s $(top_srcdir) $(LIBFILES) $(SCMFILES)
 
 unlink :
-	-@$(GOSH) ../xlink -u -g "$(SCM_CATEGORY)" \
-	  -b $(top_builddir) -s $(top_srcdir) $(LIBFILES) $(SCMFILES)
+	@for f in $(SCMFILES); do rm -f $(top_srcdir)/lib/"$(SCM_CATEGORY)"/$$f; done
+	@for f in $(LIBFILES); do rm -f $(top_builddir)/src/$$f; done