make errors: use the new util/ck_errf.pl options
authorRichard Levitte <levitte@openssl.org>
Tue, 12 Jun 2018 06:56:21 +0000 (08:56 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 12 Jun 2018 10:31:45 +0000 (12:31 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6461)

Configurations/unix-Makefile.tmpl

index 44512320464592767a698fe11f832a9c34bb4ba9..10deec6f074d24d1dc7fe64f90b819c330b4a09b 100644 (file)
@@ -760,11 +760,13 @@ generate_fuzz_oids:
 # Set to -force to force a rebuild
 ERROR_REBUILD=
 errors:
-       ( cd $(SRCDIR); $(PERL) util/ck_errf.pl -strict */*.c */*/*.c )
-       ( b=`pwd`; cd $(SRCDIR); \
+       ( b=`pwd`; set -e; cd $(SRCDIR); \
+          $(PERL) util/ck_errf.pl -strict -internal; \
           $(PERL) -I$$b util/mkerr.pl $(ERROR_REBUILD) -internal )
-       ( b=`pwd`; cd $(SRCDIR)/engines; \
+       ( b=`pwd`; set -e; cd $(SRCDIR)/engines; \
           for E in *.ec ; do \
+              $(PERL) ../util/ck_errf.pl -strict \
+                -conf $$E `basename $$E .ec`.c; \
               $(PERL) -I$$b ../util/mkerr.pl $(ERROR_REBUILD) -static \
                 -conf $$E `basename $$E .ec`.c ; \
           done )