aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/zpios-profile/Makefile.am
blob: 403c020667d84f88ec7accc41a038520c912259a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pkglibexecdir = $(libexecdir)/@PACKAGE@/zpios-profile
dist_pkglibexec_SCRIPTS = \
	$(top_srcdir)/scripts/zpios-profile/zpios-profile-disk.sh \
	$(top_srcdir)/scripts/zpios-profile/zpios-profile-pids.sh \
	$(top_srcdir)/scripts/zpios-profile/zpios-profile-post.sh \
	$(top_srcdir)/scripts/zpios-profile/zpios-profile-pre.sh \
	$(top_srcdir)/scripts/zpios-profile/zpios-profile.sh

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