Currently --with-systemd=unit-dir-path would be ignored to install the systemd generators and they are unconditionally installed in /usr/lib/systemd/system-generators . Distributions installing systemd unit files in /lib/systemd/system would though install the systemd-generators in /lib/systemd/system-generators. Make the installation of the systemd unit generators relative depending on the unit-dir-path passed for --with-systemd. Salvatore Bonaccorso (2): systemd/Makefile: Drop exlicit setting of unit_dir systemd generators: Install depending on location for systemd unit files systemd/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.27.0