summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2023-10-02 10:24:38 +0200
committerRichard Levitte <levitte@openssl.org>2023-10-02 12:38:51 +0200
commit0c74339c730dc74f9f7aeac866f02c780f39b3a9 (patch)
treed6f526b67c76975ec95937f84dbd0b105462f234 /Configurations
parent[DOCS] Fix table inconsistencies detected by mdl (diff)
downloadopenssl-0c74339c730dc74f9f7aeac866f02c780f39b3a9.tar.xz
openssl-0c74339c730dc74f9f7aeac866f02c780f39b3a9.zip
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)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/unix-Makefile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 6bdbf31d08..3d9ce086f9 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -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)