]> git.proxmox.com Git - mirror_zfs-debian.git/blob - scripts/zpios-profile/Makefile.am
Support custom build directories and move includes
[mirror_zfs-debian.git] / scripts / zpios-profile / Makefile.am
1 pkglibexecdir = $(libexecdir)/@PACKAGE@/zpios-profile
2 dist_pkglibexec_SCRIPTS = \
3 $(top_srcdir)/scripts/zpios-profile/zpios-profile-disk.sh \
4 $(top_srcdir)/scripts/zpios-profile/zpios-profile-pids.sh \
5 $(top_srcdir)/scripts/zpios-profile/zpios-profile-post.sh \
6 $(top_srcdir)/scripts/zpios-profile/zpios-profile-pre.sh \
7 $(top_srcdir)/scripts/zpios-profile/zpios-profile.sh
8
9 all:
10 @list='$(dist_pkglibexec_SCRIPTS)'; \
11 for file in $$list; do \
12 link=$$(basename $$file); \
13 if [ ! -e $$link ]; then \
14 $(LN_S) $$file $$link; \
15 fi \
16 done
17
18 clean:
19 @list='$(dist_pkglibexec_SCRIPTS)'; \
20 for file in $$list; do \
21 link=$$(basename $$file); \
22 if [ -L $$link ]; then \
23 $(RM) $$link; \
24 fi \
25 done