scripts/dumpconf: Bring installation rules in line with other scripts

Until recently dumpconf might have been installed in two different
locations, /etc/init.d/ and /lib/s390-tools/. As dumpconf is now part of
the helper scripts in the scripts directory, extend the installation
rule and add the %S390_TOOLS_VERSION% wildcard to the script along the
way for correct version output.

The installation rule in the systemd/Makefile is removed, bringing it in
line with cpictl.

Acked-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Jan Höppner
2022-05-12 21:30:15 +02:00
parent a177ae2439
commit b01ef782f0
3 changed files with 11 additions and 7 deletions
-2
View File
@@ -18,8 +18,6 @@ install: system_units
$(INSTALL) -g $(GROUP) -o $(OWNER) \
-m 644 $$unit $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) ; \
done
# For systemd install dumpconf to TOOLS_LIBDIR
$(INSTALL) -m 755 ../scripts/dumpconf $(DESTDIR)$(TOOLS_LIBDIR)
else