diff options
author | Andrei Pavel <andrei@isc.org> | 2020-12-03 10:19:15 +0100 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2020-12-14 11:08:11 +0100 |
commit | 9ca8b2fcc7af992e58668bcd5fe81b1edb6626bc (patch) | |
tree | ac05ba23f55667c1f092ebbfe543df986d9340f6 /Makefile.am | |
parent | [#1574] googletest-like output for shell tests (diff) | |
download | kea-9ca8b2fcc7af992e58668bcd5fe81b1edb6626bc.tar.xz kea-9ca8b2fcc7af992e58668bcd5fe81b1edb6626bc.zip |
[#1574] make all shell scripts POSIX compliant
* solve all shellcheck warnings
* shebang in all scripts
* set -eu everywhere
* make scripts callable from everywhere
* quote variables to prevent globbing and word splitting
* add missing copyrights
* remove unused variables
* use $() instead of backticks ``
... and so on
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am index 10708e7982..1a047e4bcd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,18 +6,18 @@ ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS} # documentation requires libkea-exceptions and libkea-cc. SUBDIRS = tools . ext src doc m4macros @PREMIUM_DIR@ @CONTRIB_DIR@ -USE_LCOV=@USE_LCOV@ -LCOV=@LCOV@ -GENHTML=@GENHTML@ -DISTCHECK_GTEST_CONFIGURE_FLAG=@DISTCHECK_GTEST_CONFIGURE_FLAG@ -DISTCHECK_CRYPTO_CONFIGURE_FLAG=@DISTCHECK_CRYPTO_CONFIGURE_FLAG@ -DISTCHECK_BOOST_CONFIGURE_FLAG=@DISTCHECK_BOOST_CONFIGURE_FLAG@ -DISTCHECK_LOG4CPLUS_CONFIGURE_FLAG=@DISTCHECK_LOG4CPLUS_CONFIGURE_FLAG@ -DISTCHECK_PERFDHCP_CONFIGURE_FLAG=@DISTCHECK_PERFDHCP_CONFIGURE_FLAG@ -DISTCHECK_KEA_SHELL_CONFIGURE_FLAG=@DISTCHECK_KEA_SHELL_CONFIGURE_FLAG@ -DISTCHECK_PREMIUM_CONFIGURE_FLAG=@DISTCHECK_PREMIUM_CONFIGURE_FLAG@ -DISTCHECK_CONTRIB_CONFIGURE_FLAG=@DISTCHECK_CONTRIB_CONFIGURE_FLAG@ -DISTCHECK_SYSREPO_CONFIGURE_FLAG=@DISTCHECK_SYSREPO_CONFIGURE_FLAG@ +USE_LCOV="@USE_LCOV@" +LCOV="@LCOV@" +GENHTML="@GENHTML@" +DISTCHECK_GTEST_CONFIGURE_FLAG="@DISTCHECK_GTEST_CONFIGURE_FLAG@" +DISTCHECK_CRYPTO_CONFIGURE_FLAG="@DISTCHECK_CRYPTO_CONFIGURE_FLAG@" +DISTCHECK_BOOST_CONFIGURE_FLAG="@DISTCHECK_BOOST_CONFIGURE_FLAG@" +DISTCHECK_LOG4CPLUS_CONFIGURE_FLAG="@DISTCHECK_LOG4CPLUS_CONFIGURE_FLAG@" +DISTCHECK_PERFDHCP_CONFIGURE_FLAG="@DISTCHECK_PERFDHCP_CONFIGURE_FLAG@" +DISTCHECK_KEA_SHELL_CONFIGURE_FLAG="@DISTCHECK_KEA_SHELL_CONFIGURE_FLAG@" +DISTCHECK_PREMIUM_CONFIGURE_FLAG="@DISTCHECK_PREMIUM_CONFIGURE_FLAG@" +DISTCHECK_CONTRIB_CONFIGURE_FLAG="@DISTCHECK_CONTRIB_CONFIGURE_FLAG@" +DISTCHECK_SYSREPO_CONFIGURE_FLAG="@DISTCHECK_SYSREPO_CONFIGURE_FLAG@" OVERALL_COVERAGE_DIR=$(abs_top_builddir)/coverage-cpp-html |