Debian Codegraph @

debian/patches/03_rm_without_xlink.patch

raw
1 Description: Fix make clean/distclean process
2 Don't use xlink because it uses 'gosh'.
3 Forwarded: Not-Yet
4 Author: NIIBE Yutaka <[email protected]>
5 Last-Update: 2024-12-06
6
7 Index: gauche/ext/Makefile.ext.in
8 ===================================================================
9 --- gauche.orig/ext/Makefile.ext.in
10 +++ gauche/ext/Makefile.ext.in
11 @@ -127,8 +127,8 @@ link : all
12 -b "$(top_builddir)" -s $(srcdir) $(LIBFILES) $(SCMFILES)
13
14 unlink :
15 - -@$(GOSH) "$(top_srcdir)/ext/xlink" -u -g "$(SCM_CATEGORY)" \
16 - -b "$(top_builddir)" -s $(srcdir) $(LIBFILES) $(SCMFILES)
17 + @for f in $(SCMFILES); do rm -f $(srcdir)/lib/"$(SCM_CATEGORY)"/$$f; done
18 + @for f in $(LIBFILES); do rm -f $(top_builddir)/src/$$f; done
19
20 list-objects:
21 @if test "X$(OBJECTS)" != X; then \