[ruby-core:80462] [Ruby trunk Bug#13384] [PATCH] Fix `make clean` errors

From: rubygems@...
Date: 2017-03-29 09:11:19 UTC
List: ruby-core #80462
Issue #13384 has been reported by eagletmt (Kohei Suzuki).

----------------------------------------
Bug #13384: [PATCH] Fix `make clean` errors
https://bugs.ruby-lang.org/issues/13384

* Author: eagletmt (Kohei Suzuki)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
https://github.com/ruby/ruby/pull/1563

- Fix error when running `make clean` just after `configure`
- Suppress error message when rubyspec files isn't present

## Before

```
% mkdir build1
% cd build1
% ../configure
% make clean
make: *** [Makefile:427: ext/clean.mk] Error 1
% make -j
% make clean
(snip)
make[1]: Leaving directory '/home/eagletmt/.ghq/github.com/ruby/ruby/build1'
cleaning rdoc
cleaning HTML
cleaning capi
rmdir: failed to remove 'spec/rubyspec/optional/capi/ext': No such file or directory
make: [uncommon.mk:624: clean-rubyspec] Error 1 (ignored)
```

## After

```
% mkdir build2
% cd build2
% ../configure
% make clean
cleaning rdoc
cleaning HTML
cleaning capi
% make -j
% make clean
(snip)
make[1]: Leaving directory '/home/eagletmt/.ghq/github.com/ruby/ruby/build2'
cleaning rdoc
cleaning HTML
cleaning capi
```



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next