summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-02-08 20:15:06 +0100
committerRichard Levitte <levitte@openssl.org>2020-02-18 05:21:42 +0100
commit1624ebdb159c780e06f43f5acb8d03e3f40ffe5c (patch)
treee24501a638ff2f6d3da56dd050d1916945edde6b /Configurations
parent86cde3187d9acf6f331daff79ff2de87e86c6dc7 (diff)
Make util/find-doc-nits runnable from the build tree
Because we generate an increasing number of POD files, some of them end up in the build tree. This makes it difficult for find-doc-nits to work as desired when the build tree is separate from the source tree. The best supported way to make it work in such an environment is to run it from the build tree and let it use the build information from configdata.pm to find all the POD files. To make this smooth enough, we add a function 'files' that returns an array of file names corresponding to criteria from the caller. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11045)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/unix-Makefile.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 14e6627d62..6777bb8de9 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -952,10 +952,10 @@ generate: generate_apps generate_crypto_bn generate_crypto_objects \
.PHONY: doc-nits cmd-nits
doc-nits: build_generated
- (cd $(SRCDIR); $(PERL) util/find-doc-nits -n -l -e )
+ $(PERL) $(SRCDIR)/util/find-doc-nits -n -l -e
cmd-nits: build_generated apps/openssl
- (cd $(SRCDIR); $(PERL) util/find-doc-nits -c )
+ $(PERL) $(SRCDIR)/util/find-doc-nits -c
# Test coverage is a good idea for the future
#coverage: $(PROGRAMS) $(TESTPROGRAMS)