build.info: Implement simply substitutions in variable values
authorRichard Levitte <levitte@openssl.org>
Wed, 26 Feb 2020 13:35:17 +0000 (14:35 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 2 Mar 2020 02:34:30 +0000 (03:34 +0100)
commite42921790267d54054cde1596711219b72a184ad
tree4fde9afd10c5130bed9de1b579b1a5e1eae35b02
parentad5be194c6b08e89f9a6e2a78b85ff19a3c40d40
build.info: Implement simply substitutions in variable values

Use case: having a variable with multiple source files in its value,
and wanting to refer to the corresponding object file.

    $SRCS=foo.c bar.c
    SOURCE[program]=$SRCS
    DEPEND[${SRCS/.c/.o}]=prog.h

    GENERATE[prog.h]=...

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11185)
Configure
doc/internal/man7/build.info.pod