1 # These are scripts that are generated from .in files
2 genunitfiles = lnet.service
5 systemdsystemunit_DATA = lnet.service
8 EXTRA_DIST = $(addsuffix .in,$(genunitfiles))
10 CLEANFILES = $(genunitfiles)
12 $(genunitfiles): %: %.in
14 sed -e 's,@sbindir\@,$(sbindir),g' \
15 -e 's,@sysconfdir\@,$(sysconfdir),g' \
16 -e 's,@BUILD_DLC_TRUE\@,,g' \
17 -e 's,@BUILD_DLC_FALSE\@,\#,g' $< > $@
19 sed -e 's,@sbindir\@,$(sbindir),g' \
20 -e 's,@sysconfdir\@,$(sysconfdir),g' \
21 -e 's,@BUILD_DLC_TRUE\@,\#,g' \
22 -e 's,@BUILD_DLC_FALSE\@,,g' $< > $@