From 38ec6991e1d3cc3fd14d3de6153a01cb8d62873c Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 4 Mar 2024 11:24:57 +0100 Subject: [PATCH] fix generation of systemd service The shell template is no longer required to generate man pages, so more it to systemd/ and ship it in tarball. --- systemd/Makefile.am | 6 +++--- {man => systemd}/sh.tmpl | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename {man => systemd}/sh.tmpl (100%) diff --git a/systemd/Makefile.am b/systemd/Makefile.am index f771dce6..204f06ff 100644 --- a/systemd/Makefile.am +++ b/systemd/Makefile.am @@ -5,11 +5,11 @@ noinst_DATA = nbd@.service DISTCLEANFILES = nbd@.service -EXTRA_DIST=nbd@.service.tmpl +EXTRA_DIST=nbd@.service.tmpl sh.tmpl nbd@.service: nbd@.service.sh sh nbd@.service.sh > nbd@.service -nbd@.service.sh.in: nbd@.service.tmpl ../man/sh.tmpl - cat ../man/sh.tmpl nbd@.service.tmpl > nbd@.service.sh.in +nbd@.service.sh.in: nbd@.service.tmpl sh.tmpl + cat sh.tmpl nbd@.service.tmpl > nbd@.service.sh.in echo EOF >> nbd@.service.sh.in diff --git a/man/sh.tmpl b/systemd/sh.tmpl similarity index 100% rename from man/sh.tmpl rename to systemd/sh.tmpl