summaryrefslogtreecommitdiffstats
path: root/scripts/zpios-profile
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-02-08 10:01:41 -0800
committerBrian Behlendorf <[email protected]>2013-03-06 15:46:40 -0800
commit48c028f5a5558894f8d94652050bc8e644760b9a (patch)
tree395c876cfa8d8e564ecbb7ef8110a96cb341c2aa /scripts/zpios-profile
parent0b4d1b5853791e1e447d74f0b229800d65b53071 (diff)
Replace libexecdir with datadir
According to the FHS. Testing scripts and examples which are all architecture independent should be installed in a subdirectory under /usr/share. http://www.pathname.com/fhs/2.2/fhs-4.11.html Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'scripts/zpios-profile')
-rw-r--r--scripts/zpios-profile/Makefile.am22
1 files changed, 2 insertions, 20 deletions
diff --git a/scripts/zpios-profile/Makefile.am b/scripts/zpios-profile/Makefile.am
index 403c02066..c87f16938 100644
--- a/scripts/zpios-profile/Makefile.am
+++ b/scripts/zpios-profile/Makefile.am
@@ -1,25 +1,7 @@
-pkglibexecdir = $(libexecdir)/@PACKAGE@/zpios-profile
-dist_pkglibexec_SCRIPTS = \
+pkgdataprofiledir = $(pkgdatadir)/zpios-profile
+dist_pkgdataprofile_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