]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment-gperf.gperf.in
meson: use jinja2 for the gperf template
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 May 2021 12:55:43 +0000 (14:55 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 19 May 2021 01:24:43 +0000 (10:24 +0900)
commit997f52a5d11f168f5bcad70a01111aa20d866b6e
tree2642b2d82167fb920199793b5dd80268b25c2ba6
parentc900d89faa0ca99c30fe32ed18c5dfa7aa3c3bd5
meson: use jinja2 for the gperf template

Jinja2 inserts an empty line after the first macro body, which I don't know how
to get rid of. Only the first macro causes problems: the other ones don't have
conditional statements at the end and the issue does not occur. As a work-around
I moved ProtectHostname to the end of the first macro.

Output is identical, except for horizontal whitespace and change in position of
ProtectHostname.
src/core/load-fragment-gperf.gperf.in [moved from src/core/load-fragment-gperf.gperf.m4 with 50% similarity]
src/core/meson.build