CLEANFILES = $(genunitfiles)
$(genunitfiles): %: %.in
-if BUILD_DLC
sed -e 's,@sbindir\@,$(sbindir),g' \
- -e 's,@sysconfdir\@,$(sysconfdir),g' \
- -e 's,@BUILD_DLC_TRUE\@,,g' \
- -e 's,@BUILD_DLC_FALSE\@,\#,g' $< > $@
-else
- sed -e 's,@sbindir\@,$(sbindir),g' \
- -e 's,@sysconfdir\@,$(sysconfdir),g' \
- -e 's,@BUILD_DLC_TRUE\@,\#,g' \
- -e 's,@BUILD_DLC_FALSE\@,,g' $< > $@
-endif
+ -e 's,@sysconfdir\@,$(sysconfdir),g' $< > $@