nut/scripts/systemd/Makefile.am

38 lines
971 B
Makefile
Raw Normal View History

2011-09-29 18:14:46 +00:00
EXTRA_DIST = README
if HAVE_SYSTEMD
systemdsystemunit_DATA = \
2022-06-29 10:37:36 +00:00
nut-driver-enumerator.service \
nut-driver-enumerator.path \
nut-driver@.service \
2011-09-29 18:14:46 +00:00
nut-monitor.service \
2022-06-29 10:37:36 +00:00
nut-server.service \
nut-driver.target \
nut.target
2011-09-29 18:14:46 +00:00
2022-06-29 10:37:36 +00:00
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
2011-09-29 18:14:46 +00:00
else
2022-06-29 10:37:36 +00:00
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
2011-09-29 18:14:46 +00:00
endif
2022-06-29 10:37:36 +00:00
MAINTAINERCLEANFILES = Makefile.in .dirstamp
# Generated by autogen.sh and needed to run the configure script:
MAINTAINERCLEANFILES += nut-common.tmpfiles.in