diff options
author | ng0 <ng0@n0.is> | 2019-03-04 13:49:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-03-04 13:49:09 +0000 |
commit | 8098bff056702fb65a5fd4b76e03468c43462fe5 (patch) | |
tree | adba9d3b49a6e1c602d8a4e263722378f4269278 /Makefile.am | |
parent | 545f3f9a7b35288a38030619964001be3ba83666 (diff) | |
download | gnunet-8098bff056702fb65a5fd4b76e03468c43462fe5.tar.gz gnunet-8098bff056702fb65a5fd4b76e03468c43462fe5.zip |
Makefile: Add check-bashism top target
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index fd18d7c3c..9be41951e 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -27,3 +27,10 @@ docdir = $(datadir)/doc/gnunet/ | |||
27 | doc_DATA = COPYING README | 27 | doc_DATA = COPYING README |
28 | 28 | ||
29 | ACLOCAL_AMFLAGS = -I m4 | 29 | ACLOCAL_AMFLAGS = -I m4 |
30 | |||
31 | # Check for bashisms in shell scripts | ||
32 | # Very verbose, need to exclude more files. | ||
33 | check-bashism: | ||
34 | printf "Run checkbashism on all .sh files.\n" | ||
35 | printf "Currently this expects checkbashism.pl at a fixed location." | ||
36 | find . -type f ! -path '*/.*' ! -path '*/_*' -name '*.sh' -print0 | xargs -0 ~/src/scripts/src/checkbashisms.pl -f | ||