Re: [PATCH v6 1/3] Makefile: generate Perl header from template file
On Sun, Mar 18, 2018 at 10:50 PM, Dan Jacques <dnj@google.com> wrote:
Show 8 quoted lines
> Currently, the generated Perl script headers are emitted by commands in
> the Makefile. This mechanism restricts options to introduce alternative
> header content, needed by Perl runtime prefix support, and obscures the
> origin of the Perl script header.
>
> Change the Makefile to generate a header by processing a template file and
> move the header content into the "perl/" subdirectory. The processed
> generated will now be stored in the "GIT-PERL-HEADER" file. This allows
> the content of the Perl header to be controlled by changing the path of
> the template in the Makefile.
>
> Signed-off-by: Dan Jacques <dnj@google.com>