summaryrefslogtreecommitdiffstats
path: root/dracut/90zfs/Makefile.am
blob: 2d1360aded1b4832101a3f1b9b2170759c7e2b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgdracutdir = $(dracutdir)/modules.d/90zfs
pkgdracut_SCRIPTS = \
	$(top_srcdir)/dracut/90zfs/export-zfs.sh \
	$(top_srcdir)/dracut/90zfs/module-setup.sh \
	$(top_srcdir)/dracut/90zfs/mount-zfs.sh \
	$(top_srcdir)/dracut/90zfs/parse-zfs.sh

EXTRA_DIST = \
	$(top_srcdir)/dracut/90zfs/export-zfs.sh.in \
	$(top_srcdir)/dracut/90zfs/module-setup.sh.in \
	$(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
	$(top_srcdir)/dracut/90zfs/parse-zfs.sh.in

$(pkgdracut_SCRIPTS):
	-$(SED) -e 's,@bindir\@,$(bindir),g' \
		-e 's,@sbindir\@,$(sbindir),g' \
		-e 's,@udevdir\@,$(udevdir),g' \
		-e 's,@udevruledir\@,$(udevruledir),g' \
		-e 's,@sysconfdir\@,$(sysconfdir),g' \
		'$@.in' >'$@'

distclean-local::
	-$(RM) $(pkgdracut_SCRIPTS)