From d896746d692ee1f11ee22f1ee2ef0b8f79ecfe10 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 25 Nov 2021 15:38:24 +0900 Subject: [PATCH] Keep the generated source files when clean [Bug #18363] --- ext/ripper/extconf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/ripper/extconf.rb b/ext/ripper/extconf.rb index 2dde565bd9..65cb5030d3 100644 --- a/ext/ripper/extconf.rb +++ b/ext/ripper/extconf.rb @@ -13,7 +13,8 @@ def main end end $objs = %w(ripper.o) - $cleanfiles.concat %w(ripper.y ripper.c ripper.E ripper.output y.output eventids1.c eventids2table.c .eventids2-check) + $distcleanfiles.concat %w(ripper.y ripper.c eventids1.c eventids2table.c) + $cleanfiles.concat %w(ripper.E ripper.output y.output .eventids2-check) $defs << '-DRIPPER' $defs << '-DRIPPER_DEBUG' if $debug $VPATH << '$(topdir)' << '$(top_srcdir)'