Project

General

Profile

Actions

Bug #18363

closed

`make clean` should consistently handle generated files otherwise it can break the build.

Added by ioquatix (Samuel Williams) over 2 years ago. Updated over 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:106270]

Description

Running make clean will cause ext/ripper/ripper.c to be regenerated but not parse.c and this causes problems if bison is incompatible with previous version, because ripper.c will be regenerated with a different version of bison.

nobu: Ah, yes, concatenating ripper.y and ripper.c to $cleanfiles, in ext/ripper/extconf.rb.

samuel: Can this solve the problem so make clean does not remove it?

nobu: I think so. eventids*.c also should be removed by distclean instead.

Actions #1

Updated by ioquatix (Samuel Williams) over 2 years ago

  • Description updated (diff)
Actions #2

Updated by nobu (Nobuyoshi Nakada) over 2 years ago

  • Status changed from Open to Closed

Applied in changeset git|d896746d692ee1f11ee22f1ee2ef0b8f79ecfe10.


Keep the generated source files when clean [Bug #18363]

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0