Skip to contentSkip to conversation

perf: Remove distclean from Makefile help output

PATCH In review John Kacur 1 participant 2 messages Feb 1, 2012 – Feb 7, 2012 perf events

lore
Share & tools
lore

John Kacur

author
#0 lore raw

PATCH 1/1 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.

---
 tools/perf/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
tools/perf/Makefile +0 -1
index ac86d67..e4233c7 100644
@@ -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:
Signature · 1 line
1.7.7.6
#1 lore raw

[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.

---
 tools/perf/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
tools/perf/Makefile +0 -1
index d64f581..64df5de 100644
@@ -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: