star-aerosol

Describe the radiative properties of aerosols
git clone git://git.meso-star.fr/star-aerosol.git
Log | Files | Refs | README | LICENSE

commit 12513286b9fbfc7364afda7b995bfe46e6ff5546
parent 51e4481753953e10a3b361a3fbf40d048631dee0
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Sat, 14 Oct 2023 15:31:42 +0200

Fix Makefile lint target

The "smsh" manual page referenced is not installed in mandoc's default
search path. Mandoc therefore issues a warning and returns 1 when
checking the conformity of the file. This generated an error at the
Makefile invocation when invoking the lint target.

This commit corrects this problem by accepting all mandoc return codes
less than or equal to 1, which corresponds to "at least one violation of
the base system convention or style suggestion has occurred, but no
warning or error" (extract from the mandoc manual "EXIT STATUS").

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -108,7 +108,7 @@ distclean: clean lint: shellcheck -o all make.sh - mandoc -Tlint -Wall sars.5 + mandoc -Tlint -Wall sars.5 || [ $$? -le 1 ] ################################################################################ # Tests