unix-Makefile.tmpl and ci.yml: Merge cmd-nits into doc-nits

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15329)
This commit is contained in:
Dr. David von Oheimb 2021-05-18 11:18:26 +02:00 committed by Dr. David von Oheimb
parent cad4f3facc
commit 5bac37cb14
3 changed files with 5 additions and 10 deletions

View File

@ -37,8 +37,8 @@ jobs:
run: ./config --banner=Configured --strict-warnings enable-fips && perl configdata.pm --dump
- name: make build_generated
run: make -s build_generated
- name: make doc-nits cmd-nits
run: make doc-nits cmd-nits
- name: make doc-nits
run: make doc-nits
# This checks that we use ANSI C language syntax and semantics.
# We are not as strict with libraries, but rather adapt to what's

View File

@ -569,7 +569,7 @@ clean: libclean
-find . -name '*{- platform->depext() -}' \! -name '.*' \! -type d -exec $(RM) {} \;
-find . -name '*{- platform->objext() -}' \! -name '.*' \! -type d -exec $(RM) {} \;
$(RM) core
$(RM) tags TAGS doc-nits cmd-nits md-nits
$(RM) tags TAGS doc-nits md-nits
$(RM) -r test/test-runs
$(RM) providers/fips*.new
$(RM) openssl.pc libcrypto.pc libssl.pc
@ -1064,12 +1064,9 @@ generate: generate_apps generate_crypto_bn generate_crypto_objects \
generate_buildinfo: generate_doc_buildinfo
.PHONY: doc-nits cmd-nits md-nits
.PHONY: doc-nits md-nits
doc-nits: build_generated_pods
$(PERL) $(SRCDIR)/util/find-doc-nits -n -l -e
cmd-nits: build_generated_pods
$(PERL) $(SRCDIR)/util/find-doc-nits -c
$(PERL) $(SRCDIR)/util/find-doc-nits -c -n -l -e
# This uses "mdl", the markdownlint application, which is written in ruby.
# The source is at https://github.com/markdownlint/markdownlint

View File

@ -1141,8 +1141,6 @@ if ( $opt_c ) {
checkflags($cmd, @doc);
}
}
exit $status;
}
# Populate %state