Project

General

Profile

Actions

Bug #13384

closed

[PATCH] Fix `make clean` errors

Added by eagletmt (Kohei Suzuki) over 7 years ago. Updated over 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 #1

Updated by sorah (Sorah Fukumori) over 7 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r58207.


Fix make clean errors

Patch by Kohei Suzuki .

  • common.mk(clean-rubyspec): Supress error messages when rubyspec files
    don't exist. [GH-1563] [Bug #13384]

  • Makefile.in: Fix error when files don't exist. [GH-1563] [Bug #13384]

Actions #2

Updated by usa (Usaku NAKAMURA) over 7 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONTNEED
Actions

Also available in: Atom PDF

Like0
Like0Like0