summaryrefslogtreecommitdiffstats
path: root/etc/systemd/system-generators/Makefile.am
blob: b4df013222117409375d627b4fcc96174caf2dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
systemdgenerator_SCRIPTS = \
	zfs-mount-generator

EXTRA_DIST = \
	$(top_srcdir)/etc/systemd/system-generators/zfs-mount-generator.in

$(systemdgenerator_SCRIPTS): %: %.in
	-$(SED) -e 's,@bindir\@,$(bindir),g' \
		-e 's,@runstatedir\@,$(runstatedir),g' \
		-e 's,@sbindir\@,$(sbindir),g' \
		-e 's,@sysconfdir\@,$(sysconfdir),g' \
		$< >'$@'

# Double-colon rules are allowed; there are multiple independent definitions.
distclean-local::
	-$(RM) $(systemdgenerator_SCRIPTS)