From: Matthias Andree <[email protected]>
---
Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 8857eb81..6c4af5bc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -221,10 +221,11 @@ update-doc:
(cd doc && $(MAKE) update-doc)
shellcheck:
- (find . -name \*.sh && echo "gen_defs muttbug prepare") | xargs
shellcheck
+ (find $(top_srcdir) -name \*.sh \
+ && echo "$(srcdir)/gen_defs $(srcdir)/muttbug
$(srcdir)/prepare") | xargs shellcheck
tabcheck:
- find . -name '*.[ch]' ! -name keymap_defs.h ! -name conststrings.c
-print0 | \
+ find $(top_srcdir) -name '*.[ch]' ! -name keymap_defs.h ! -name
conststrings.c -print0 | \
xargs -0 perl -n -e '/\t/ && die "tab found in $$ARGV"'
.PHONY: commit pclean check-security shellcheck tabcheck
--
2.53.0