30971e59178508cf56c4432e9f3521460fac1cb2
[profile/ivi/node-startup-controller.git] / nsm-dummy / systemd / Makefile.am
1 # vi:set ts=8 sw=8 noet ai nocindent:
2
3 systemd_servicedir = /lib/systemd/system
4
5 systemd_service_in_files =                                                      \
6         com.contiautomotive.NodeStateManager.service.in
7
8 systemd_service_DATA = $(systemd_service_in_files:.service.in=.service)
9
10 %.service: %.service.in
11         sed -e "s,\@libdir\@,$(libdir),g"                               \
12             -e "s,\@BOOT_MANAGER_VERSION_API\@,$(BOOT_MANAGER_VERSION_API),g" < $< > $@
13
14 CLEANFILES =                                                            \
15         $(systemd_service_DATA)
16
17 EXTRA_DIST =                                                            \
18         $(systemd_service_in_files)