mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <behlendorf1@llnl.gov>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user