Project

General

Profile

Actions

Bug #10737

closed

probes.dmyh (and others) not removed on make clean / make distclean

Added by eike.rb (Eike Dierks) about 9 years ago. Updated about 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0p6 (2015-01-03 revision 49125) [x86_64-linux]
[ruby-core:67562]

Description

Some files that are generated by building ruby are not removed upon make clean or make distclean.

This is problematic when one of these files where generated with wrong content but are not regenerated after make clean.

In my case probes.dmyh was created empty which led to errors that could not be fixed by a clean remake.

How to reproduce / test:

svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_2_2
cp -r ruby_2_2 ruby_2_2.dist
(cd ruby_2_2;autoconf;./configure)
cp -r ruby_2_2 ruby_2_2.conf
(cd ruby_2_2;make all clean)
diff -r --brief --exclude .svn --exclude ext ruby_2_2.conf ruby_2_2
(cd ruby_2_2;make distclean)
diff -r --brief --exclude .svn --exclude ext ruby_2_2.dist ruby_2_2

Expected result

There should only be minor differences

see also:
http://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
(see clean and distclean)

Updated by nobu (Nobuyoshi Nakada) about 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r49237.


common.mk: more clean

  • common.mk (distclean-local): remove autom4te.cache generated by
    autoconf.
  • common.mk (realclean-local): remove id sources and dummy header
    for dtrace. [ruby-core:67562] [Bug #10737]
Actions

Also available in: Atom PDF

Like0
Like0