Fix up make rules
authorng0 <ng0@n0.is>
Mon, 4 Mar 2019 14:25:10 +0000 (14:25 +0000)
committerng0 <ng0@n0.is>
Mon, 4 Mar 2019 14:25:10 +0000 (14:25 +0000)
Makefile.am

index a5e36545a2ed3c84254713aabc158eebcf2c03b0..daa2946a7e0ddccc9466a83a4bc5a8b924924cc4 100644 (file)
@@ -33,11 +33,11 @@ ACLOCAL_AMFLAGS = -I m4
 check-bashism:
        printf "Run checkbashism on all .sh files.\n"
        printf "Currently this expects checkbashism.pl at a fixed location."
-       find . -type f ! -path '*/.*' ! -path '*/_*' -name '*.sh' -print0 | xargs -0 ~/src/scripts/src/checkbashisms.pl -f
+       find . -type f ! -path '*/.*' ! -path '*/_*' -name '*.sh' -print0 | xargs -0 ~/src/scripts/src/checkbashisms.pl -f 2>&1 | tee $(top_srcdir)/bashism.log || true
 
 check-python:
        printf "Running flake8 and 2to3 if detected.\n"
-       $(top_srcdir)/contrib/scripts/lint-python.sh
+       $(top_srcdir)/contrib/scripts/lint-python.sh || true
 
 check-man:
        printf "Running lint-man.sh in doc/man.\n"