]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/zfs/Makefile.am
Fixes for make dist
[FreeBSD/FreeBSD.git] / etc / zfs / Makefile.am
1 pkgsysconfdir = $(sysconfdir)/zfs
2 initconfdir = $(DEFAULT_INITCONF_DIR)
3
4 dist_pkgsysconf_DATA = \
5         vdev_id.conf.alias.example \
6         vdev_id.conf.sas_direct.example \
7         vdev_id.conf.sas_switch.example \
8         vdev_id.conf.multipath.example \
9         vdev_id.conf.scsi.example
10 pkgsysconf_SCRIPTS = \
11         zfs-functions
12
13 EXTRA_DIST = zfs-functions.in
14
15 $(pkgsysconf_SCRIPTS):%:%.in Makefile
16           -$(SED) \
17                  -e 's,@sbindir\@,$(sbindir),g' \
18                  -e 's,@sysconfdir\@,$(sysconfdir),g' \
19                  -e 's,@initconfdir\@,$(initconfdir),g' \
20                  $< >'$@'
21
22 CLEANFILES = $(pkgsysconf_SCRIPTS)