From: nobu@... Date: 2015-01-13T12:57:28+00:00 Subject: [ruby-core:67566] [ruby-trunk - Bug #10737] [Closed] probes.dmyh (and others) not removed on make clean / make distclean Issue #10737 has been updated by Nobuyoshi Nakada. 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] ---------------------------------------- Bug #10737: probes.dmyh (and others) not removed on make clean / make distclean https://bugs.ruby-lang.org/issues/10737#change-50978 * Author: Eike Dierks * Status: Closed * Priority: Normal * Assignee: * ruby -v: ruby 2.2.0p6 (2015-01-03 revision 49125) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- 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) -- https://bugs.ruby-lang.org/