diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-12-10 11:18:38 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2024-12-10 12:31:47 +0900 |
| commit | f12e2622c1d3a438cbae6afdadf824e228207ae6 (patch) | |
| tree | ec571724cb5bf297c2aa117d662dd57754679b68 /template | |
| parent | ce2f3983868308fd330d4134e66e46b0a82c666b (diff) | |
Split system dependent commands to clean modular-gc
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12300
Diffstat (limited to 'template')
| -rw-r--r-- | template/Makefile.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/template/Makefile.in b/template/Makefile.in index ca7c551830..39d5bdd156 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -567,6 +567,12 @@ ext/distclean ext/realclean .bundle/distclean .bundle/realclean:: .bundle/realclean:: @$(RMALL) $(tooldir)/bunlder/*.lock $(srcdir)/.bundle +gc/clean gc/distclean gc/realclean:: + - for gc in gc/*/; do ($(CHDIR) $$gc && exec $(MAKE) TARGET_SO_DIR=./ $(@F)); done || $(NULLCMD) + +gc/distclean gc/realclean:: + - for gc in gc/*/; do $(RMDIR) $$gc; done || $(NULLCMD) + clean-enc distclean-enc realclean-enc: @test -f "$(ENC_MK)" || exit 0; \ echo $(@:-enc=ing) encodings; \ |
