2011-06-17 23:23:21 +04:00
|
|
|
pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
|
2011-03-18 01:18:13 +03:00
|
|
|
dist_pkgdracut_SCRIPTS = \
|
|
|
|
$(top_srcdir)/dracut/90zfs/90-zfs.rules \
|
2011-07-04 21:25:31 +04:00
|
|
|
$(top_srcdir)/dracut/90zfs/module-setup.sh \
|
2011-03-18 01:18:13 +03:00
|
|
|
$(top_srcdir)/dracut/90zfs/mount-zfs.sh \
|
|
|
|
$(top_srcdir)/dracut/90zfs/parse-zfs.sh
|
|
|
|
|
|
|
|
all:
|
|
|
|
@list='$(dist_pkgdracut_SCRIPTS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
link=$$(basename $$file); \
|
|
|
|
if [ ! -e $$link ]; then \
|
|
|
|
$(LN_S) $$file $$link; \
|
|
|
|
fi \
|
|
|
|
done
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@list='$(dist_pkgdracut_SCRIPTS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
link=$$(basename $$file); \
|
|
|
|
if [ -L $$link ]; then \
|
|
|
|
$(RM) $$link; \
|
|
|
|
fi \
|
|
|
|
done
|