Re: [libvirt] [PATCH 15/41] remote: reduce duplication in systemd unit file make rules into one

2019-07-26 Thread Andrea Bolognani
On Tue, 2019-07-23 at 17:02 +0100, Daniel P. Berrangé wrote: [...] > +COMMON_UNIT_VARS = \ > + -e 's|[@]localstatedir[@]|$(localstatedir)|g' \ > + -e 's|[@]sbindir[@]|$(sbindir)|g' \ > + -e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \ > + $(NULL) > > +LIBVIRTD_UNIT_VARS = \ > + $(CO

[libvirt] [PATCH 15/41] remote: reduce duplication in systemd unit file make rules into one

2019-07-23 Thread Daniel P . Berrangé
The make rules for the systemd socket unit files are all essentially identical and can be collapsed into a single generic rule. The service unit file rule can be simplified too. Signed-off-by: Daniel P. Berrangé --- src/Makefile.am| 6 + src/remote/Makefile.inc.am | 47 ++---