Issue #10737 has been reported by Eike Dierks.

----------------------------------------
Bug #10737: probes.dmyh (and others) not removed on make clean / make distclean
https://bugs.ruby-lang.org/issues/10737

* Author: Eike Dierks
* Status: Open
* 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/