mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 20:09:35 +03:00
d99a015343
Authored by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org> Ported-by: Don Brady <don.brady@delphix.com> Ported-by: John Kennedy <john.kennedy@delphix.com> OpenZFS-issue: https://www.illumos.org/issues/7431 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/dfc11533 Porting Notes: * The CLI long option arguments for '-t' and '-m' don't parse on linux * Switched from kmem_alloc to vmem_alloc in zcp_lua_alloc * Lua implementation is built as its own module (zlua.ko) * Lua headers consumed directly by zfs code moved to 'include/sys/lua/' * There is no native setjmp/longjump available in stock Linux kernel. Brought over implementations from illumos and FreeBSD * The get_temporary_prop() was adapted due to VFS platform differences * Use of inline functions in lua parser to reduce stack usage per C call * Skip some ZFS Test Suite ZCP tests on sparc64 to avoid stack overflow
38 lines
639 B
Makefile
38 lines
639 B
Makefile
dist_man_MANS = \
|
|
fsck.zfs.8 \
|
|
mount.zfs.8 \
|
|
vdev_id.8 \
|
|
zdb.8 \
|
|
zfs.8 \
|
|
zfs-program.8 \
|
|
zgenhostid.8 \
|
|
zinject.8 \
|
|
zpool.8 \
|
|
zstreamdump.8
|
|
|
|
nodist_man_MANS = \
|
|
zed.8
|
|
|
|
EXTRA_DIST = \
|
|
zed.8.in
|
|
|
|
zed.8: $(srcdir)/zed.8.in
|
|
|
|
do_subst = $(SED) \
|
|
-e 's|@libexecdir[@]|$(libexecdir)|g' \
|
|
-e 's|@runstatedir[@]|$(runstatedir)|g' \
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g'
|
|
|
|
$(nodist_man_MANS): Makefile
|
|
$(RM) $@ $@.tmp
|
|
srcdir=''; \
|
|
test -f ./$@.in || srcdir=$(srcdir)/; \
|
|
$(do_subst) $${srcdir}$@.in >$@.tmp
|
|
mv $@.tmp $@
|
|
|
|
install-data-local:
|
|
$(INSTALL) -d -m 0755 "$(DESTDIR)$(mandir)/man8"
|
|
|
|
CLEANFILES = \
|
|
$(nodist_man_MANS)
|