diff options
Diffstat (limited to 'etc/zfs/Makefile.am')
-rw-r--r-- | etc/zfs/Makefile.am | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/etc/zfs/Makefile.am b/etc/zfs/Makefile.am index 5370f41bd..8e44affaa 100644 --- a/etc/zfs/Makefile.am +++ b/etc/zfs/Makefile.am @@ -1,7 +1,7 @@ pkgsysconfdir = $(sysconfdir)/zfs initconfdir = $(DEFAULT_INITCONF_DIR) -pkgsysconf_DATA = \ +dist_pkgsysconf_DATA = \ vdev_id.conf.alias.example \ vdev_id.conf.sas_direct.example \ vdev_id.conf.sas_switch.example \ @@ -10,26 +10,13 @@ pkgsysconf_DATA = \ pkgsysconf_SCRIPTS = \ zfs-functions -EXTRA_DIST = $(pkgsysconf_DATA) \ - zfs-functions.in +EXTRA_DIST = zfs-functions.in $(pkgsysconf_SCRIPTS):%:%.in Makefile - -(if [ -e /etc/debian_version ]; then \ - NFS_SRV=nfs-kernel-server; \ - else \ - NFS_SRV=nfs; \ - fi; \ - if [ -e /sbin/openrc-run ]; then \ - SHELL=/sbin/openrc-run; \ - else \ - SHELL=/bin/sh; \ - fi; \ - $(SED) \ + -$(SED) \ -e 's,@sbindir\@,$(sbindir),g' \ -e 's,@sysconfdir\@,$(sysconfdir),g' \ -e 's,@initconfdir\@,$(initconfdir),g' \ - $< >'$@'; \ - [ '$@' = 'zfs-functions' ] || \ - chmod +x '$@') + $< >'$@' CLEANFILES = $(pkgsysconf_SCRIPTS) |