nut/scripts/systemd/Makefile.am

22 lines
449 B
Makefile
Raw Normal View History

2011-09-29 18:14:46 +00:00
EXTRA_DIST = README
if HAVE_SYSTEMD
%.service: %.service.in
sed -e 's,@sbindir\@,$(sbindir),g' $< > $@
nutshutdown: nutshutdown.in
sed -e 's,@sbindir\@,$(sbindir),g' $< > $@
systemdsystemunit_DATA = \
nut-driver.service \
nut-monitor.service \
nut-server.service
systemdsystemshutdown_SCRIPTS = nutshutdown
else
EXTRA_DIST += nut-driver.service.in nut-monitor.service.in \
nut-server.service.in nutshutdown.in
endif