Project

General

Profile

Actions

Bug #13384

closed

[PATCH] Fix `make clean` errors

Added by eagletmt (Kohei Suzuki) about 7 years ago. Updated almost 7 years ago.

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

Description

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
Actions

Also available in: Atom PDF

Like0
Like0Like0