diff mbox

[maintainer-tools,1/3] make: run check on current `dim`, not the installed one

Message ID 20170405111525.32602-1-eric.engestrom@imgtec.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Engestrom April 5, 2017, 11:15 a.m. UTC
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jani Nikula April 5, 2017, 11:29 a.m. UTC | #1
On Wed, 05 Apr 2017, Eric Engestrom <eric.engestrom@imgtec.com> wrote:
> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>

For me "current dim" *is* the "installed one". ;)

Pushed patches 1-2.

BR,
Jani.

> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index b4cea98..4291049 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -33,7 +33,7 @@ shellcheck:
>  	shellcheck $(SC_EXCLUDE) dim bash_completion
>  
>  mancheck:
> -	@for cmd in $$(dim list-commands); do \
> +	@for cmd in $$(./dim list-commands); do \
>  		if ! grep -q "^$$cmd" dim.rst; then \
>  			echo "$@: $$cmd not documented"; \
>  		fi \
diff mbox

Patch

diff --git a/Makefile b/Makefile
index b4cea98..4291049 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@  shellcheck:
 	shellcheck $(SC_EXCLUDE) dim bash_completion
 
 mancheck:
-	@for cmd in $$(dim list-commands); do \
+	@for cmd in $$(./dim list-commands); do \
 		if ! grep -q "^$$cmd" dim.rst; then \
 			echo "$@: $$cmd not documented"; \
 		fi \