2016-03-31 02:59:15 +03:00
|
|
|
pkgdracutdir = $(dracutdir)/modules.d/02zfsexpandknowledge
|
|
|
|
pkgdracut_SCRIPTS = \
|
|
|
|
module-setup.sh
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2020-06-23 00:30:40 +03:00
|
|
|
module-setup.sh.in
|
2016-03-31 02:59:15 +03:00
|
|
|
|
2016-07-30 02:35:33 +03:00
|
|
|
$(pkgdracut_SCRIPTS):%:%.in
|
2016-03-31 02:59:15 +03:00
|
|
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
|
|
|
-e 's,@sbindir\@,$(sbindir),g' \
|
|
|
|
-e 's,@datadir\@,$(datadir),g' \
|
|
|
|
-e 's,@dracutdir\@,$(dracutdir),g' \
|
|
|
|
-e 's,@udevdir\@,$(udevdir),g' \
|
|
|
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
|
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
2016-07-30 02:35:33 +03:00
|
|
|
$< >'$@'
|
2016-03-31 02:59:15 +03:00
|
|
|
|
2019-08-26 21:48:31 +03:00
|
|
|
# Double-colon rules are allowed; there are multiple independent definitions.
|
2016-03-31 02:59:15 +03:00
|
|
|
clean-local::
|
|
|
|
-$(RM) $(pkgdracut_SCRIPTS)
|
|
|
|
|
2019-08-26 21:48:31 +03:00
|
|
|
# Double-colon rules are allowed; there are multiple independent definitions.
|
2016-03-31 02:59:15 +03:00
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(pkgdracut_SCRIPTS)
|