mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
23 lines
521 B
Makefile
23 lines
521 B
Makefile
|
pkglibexecdir = $(libexecdir)/@PACKAGE@/zpool-layout
|
||
|
dist_pkglibexec_SCRIPTS = \
|
||
|
$(top_srcdir)/scripts/zpool-layout/dragon.ddn.conf \
|
||
|
$(top_srcdir)/scripts/zpool-layout/dragon.llnl.conf
|
||
|
|
||
|
all:
|
||
|
@list='$(dist_pkglibexec_SCRIPTS)'; \
|
||
|
for file in $$list; do \
|
||
|
link=$$(basename $$file); \
|
||
|
if [ ! -e $$link ]; then \
|
||
|
$(LN_S) $$file $$link; \
|
||
|
fi \
|
||
|
done
|
||
|
|
||
|
clean:
|
||
|
@list='$(dist_pkglibexec_SCRIPTS)'; \
|
||
|
for file in $$list; do \
|
||
|
link=$$(basename $$file); \
|
||
|
if [ -L $$link ]; then \
|
||
|
$(RM) $$link; \
|
||
|
fi \
|
||
|
done
|