2012-02-01 22:16:53

by John Kacur

[permalink] [raw]
Subject: [PATCH] perf: Remove distclean from Makefile help output

distclean as an alias for clean was removed from the perf Makefile by
commit a3d1ee10d1bf4520af3d44c1aa6cd46956ec4fd7

However, that commit neglected to remove it from the help output of
the perf Makefile, which could result in a user trying the following.

$ cd tools/perf/
$ make help | grep distclean
distclean - alias to clean
$ make distclean
make: *** No rule to make target `distclean'. Stop.

This patch removes it from the Makefile help output.

Signed-off-by: John Kacur <[email protected]>
---
tools/perf/Makefile | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index ac86d67..e4233c7 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -795,7 +795,6 @@ help:
@echo ' quick-install-html - install the html documentation quickly'
@echo ''
@echo 'Perf maintainer targets:'
- @echo ' distclean - alias to clean'
@echo ' clean - clean all binary objects and build output'

doc:
--
1.7.7.6


2012-02-07 19:32:24

by John Kacur

[permalink] [raw]
Subject: [tip:perf/core] perf tools: Remove distclean from Makefile help output

Commit-ID: 946d863cc0d2262080c8101c8e6299974e449fe3
Gitweb: http://git.kernel.org/tip/946d863cc0d2262080c8101c8e6299974e449fe3
Author: John Kacur <[email protected]>
AuthorDate: Wed, 1 Feb 2012 23:16:31 +0100
Committer: Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 2 Feb 2012 17:37:51 -0200

perf tools: Remove distclean from Makefile help output

distclean as an alias for clean was removed from the perf Makefile by
commit a3d1ee10d1bf4520af3d44c1aa6cd46956ec4fd7

However, that commit neglected to remove it from the help output of
the perf Makefile, which could result in a user trying the following.

$ cd tools/perf/
$ make help | grep distclean
distclean - alias to clean
$ make distclean
make: *** No rule to make target `distclean'. Stop.

This patch removes it from the Makefile help output.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: John Kacur <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
tools/perf/Makefile | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index d64f581..64df5de 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -794,7 +794,6 @@ help:
@echo ' quick-install-html - install the html documentation quickly'
@echo ''
@echo 'Perf maintainer targets:'
- @echo ' distclean - alias to clean'
@echo ' clean - clean all binary objects and build output'

doc: