Make apps/progs.pl not look at apps/progs.c
authorRichard Levitte <levitte@openssl.org>
Tue, 18 May 2021 16:22:57 +0000 (18:22 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 19 May 2021 17:04:06 +0000 (19:04 +0200)
commitda750b15c0e69f809243d56eceb37d56a8fc9cfd
treeeacfec3ef27dcd988c4c82a399bbb980901fe2de
parentdd05c7938d70b620204f2808812f3bf7c535db48
Make apps/progs.pl not look at apps/progs.c

apps/progs.pl will have apps/progs.c as output, and on some systems,
the output file of a program is locked against reading.
Unfortunately, apps/progs.c is also part of the sources that make up
apps/openssl, so it's necessary to mark that file in a way that makes
progs.pl skip over it.

Fortunately, this is easily done with a special attribute in
apps/build.info and a simple adaptation of apps/progs.pl.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15332)
apps/build.info
apps/progs.pl