nut/scripts/systemd/Makefile.am
2022-06-29 12:37:36 +02:00

37 lines
971 B
Makefile

EXTRA_DIST = README
if HAVE_SYSTEMD
systemdsystemunit_DATA = \
nut-driver-enumerator.service \
nut-driver-enumerator.path \
nut-driver@.service \
nut-monitor.service \
nut-server.service \
nut-driver.target \
nut.target
systemdtmpfiles_DATA = \
nut-common.tmpfiles
EXTRA_DIST += nut-driver.target nut.target
systemdshutdown_SCRIPTS = nutshutdown
libexec_SCRIPTS = ../upsdrvsvcctl/nut-driver-enumerator.sh
sbin_SCRIPTS = ../upsdrvsvcctl/upsdrvsvcctl
else
EXTRA_DIST += \
nut-driver@.service.in nut-monitor.service.in \
nut-server.service.in nutshutdown.in nut-driver.target nut.target \
nut-driver-enumerator.path.in nut-driver-enumerator.service.in
# NOTE: Do not EXTRA_DIST nut-common.tmpfiles.in - it is generated per build
endif
MAINTAINERCLEANFILES = Makefile.in .dirstamp
# Generated by autogen.sh and needed to run the configure script:
MAINTAINERCLEANFILES += nut-common.tmpfiles.in