Configurations/unix-Makefile.tmpl: Ensure that md-nits always works

The body of the "md-nits" Makefile target assumed an in source build tree.
This change ensures that it works correctly when called from an out-of-source
build tree as well.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22240)
This commit is contained in:
Richard Levitte 2023-10-02 10:24:38 +02:00
parent 5995dc3719
commit 0c74339c73

View File

@ -1146,7 +1146,7 @@ doc-nits: build_generated_pods ## Evaluate OpenSSL documentation
# Finally, there's a Node.js version, which we haven't tried, that
# can be found at https://github.com/DavidAnson/markdownlint
md-nits: ## Evaluate markdown files via "mdl"
mdl -s util/markdownlint.rb .
mdl -s $(SRCDIR)/util/markdownlint.rb .
# Test coverage is a good idea for the future
#coverage: $(PROGRAMS) $(TESTPROGRAMS)