1dist_noinst_man_MANS = \ 2 %D%/man1/cstyle.1 3 4dist_man_MANS = \ 5 %D%/man1/arcstat.1 \ 6 %D%/man1/raidz_test.1 \ 7 %D%/man1/test-runner.1 \ 8 %D%/man1/zhack.1 \ 9 %D%/man1/ztest.1 \ 10 %D%/man1/zvol_wait.1 \ 11 \ 12 %D%/man5/vdev_id.conf.5 \ 13 \ 14 %D%/man4/spl.4 \ 15 %D%/man4/zfs.4 \ 16 \ 17 %D%/man7/dracut.zfs.7 \ 18 %D%/man7/vdevprops.7 \ 19 %D%/man7/zfsconcepts.7 \ 20 %D%/man7/zfsprops.7 \ 21 %D%/man7/zpool-features.7 \ 22 %D%/man7/zpoolconcepts.7 \ 23 %D%/man7/zpoolprops.7 \ 24 \ 25 %D%/man8/fsck.zfs.8 \ 26 %D%/man8/mount.zfs.8 \ 27 %D%/man8/vdev_id.8 \ 28 %D%/man8/zdb.8 \ 29 %D%/man8/zfs.8 \ 30 %D%/man8/zfs-allow.8 \ 31 %D%/man8/zfs-bookmark.8 \ 32 %D%/man8/zfs-change-key.8 \ 33 %D%/man8/zfs-clone.8 \ 34 %D%/man8/zfs-create.8 \ 35 %D%/man8/zfs-destroy.8 \ 36 %D%/man8/zfs-diff.8 \ 37 %D%/man8/zfs-get.8 \ 38 %D%/man8/zfs-groupspace.8 \ 39 %D%/man8/zfs-hold.8 \ 40 %D%/man8/zfs-inherit.8 \ 41 %D%/man8/zfs-list.8 \ 42 %D%/man8/zfs-load-key.8 \ 43 %D%/man8/zfs-mount.8 \ 44 %D%/man8/zfs-program.8 \ 45 %D%/man8/zfs-project.8 \ 46 %D%/man8/zfs-projectspace.8 \ 47 %D%/man8/zfs-promote.8 \ 48 %D%/man8/zfs-receive.8 \ 49 %D%/man8/zfs-recv.8 \ 50 %D%/man8/zfs-redact.8 \ 51 %D%/man8/zfs-release.8 \ 52 %D%/man8/zfs-rename.8 \ 53 %D%/man8/zfs-rollback.8 \ 54 %D%/man8/zfs-send.8 \ 55 %D%/man8/zfs-set.8 \ 56 %D%/man8/zfs-share.8 \ 57 %D%/man8/zfs-snapshot.8 \ 58 %D%/man8/zfs-unallow.8 \ 59 %D%/man8/zfs-unload-key.8 \ 60 %D%/man8/zfs-unmount.8 \ 61 %D%/man8/zfs-upgrade.8 \ 62 %D%/man8/zfs-userspace.8 \ 63 %D%/man8/zfs-wait.8 \ 64 %D%/man8/zfs_ids_to_path.8 \ 65 %D%/man8/zgenhostid.8 \ 66 %D%/man8/zinject.8 \ 67 %D%/man8/zpool.8 \ 68 %D%/man8/zpool-add.8 \ 69 %D%/man8/zpool-attach.8 \ 70 %D%/man8/zpool-checkpoint.8 \ 71 %D%/man8/zpool-clear.8 \ 72 %D%/man8/zpool-create.8 \ 73 %D%/man8/zpool-destroy.8 \ 74 %D%/man8/zpool-detach.8 \ 75 %D%/man8/zpool-events.8 \ 76 %D%/man8/zpool-export.8 \ 77 %D%/man8/zpool-get.8 \ 78 %D%/man8/zpool-history.8 \ 79 %D%/man8/zpool-import.8 \ 80 %D%/man8/zpool-initialize.8 \ 81 %D%/man8/zpool-iostat.8 \ 82 %D%/man8/zpool-labelclear.8 \ 83 %D%/man8/zpool-list.8 \ 84 %D%/man8/zpool-offline.8 \ 85 %D%/man8/zpool-online.8 \ 86 %D%/man8/zpool-reguid.8 \ 87 %D%/man8/zpool-remove.8 \ 88 %D%/man8/zpool-reopen.8 \ 89 %D%/man8/zpool-replace.8 \ 90 %D%/man8/zpool-resilver.8 \ 91 %D%/man8/zpool-scrub.8 \ 92 %D%/man8/zpool-set.8 \ 93 %D%/man8/zpool-split.8 \ 94 %D%/man8/zpool-status.8 \ 95 %D%/man8/zpool-sync.8 \ 96 %D%/man8/zpool-trim.8 \ 97 %D%/man8/zpool-upgrade.8 \ 98 %D%/man8/zpool-wait.8 \ 99 %D%/man8/zstream.8 \ 100 %D%/man8/zstreamdump.8 \ 101 %D%/man8/zpool_influxdb.8 102 103if BUILD_FREEBSD 104dist_man_MANS += \ 105 %D%/man8/zfs-jail.8 \ 106 %D%/man8/zfs-unjail.8 107endif 108 109if BUILD_LINUX 110dist_man_MANS += \ 111 %D%/man8/zfs-unzone.8 \ 112 %D%/man8/zfs-zone.8 113endif 114 115nodist_man_MANS = \ 116 %D%/man8/zed.8 \ 117 %D%/man8/zfs-mount-generator.8 118 119dist_noinst_DATA += $(dist_noinst_man_MANS) $(dist_man_MANS) 120 121SUBSTFILES += $(nodist_man_MANS) 122 123CHECKS += mancheck 124mancheck: 125 $(top_srcdir)/scripts/mancheck.sh $(srcdir)/%D% 126 127 128if BUILD_LINUX 129# The manual pager in most Linux distros defaults to "BSD" when .Os is blank, 130# but leaving it blank makes things a lot easier on 131# FreeBSD when OpenZFS is vendored in the base system. 132INSTALL_DATA_HOOKS += man-install-data-hook 133man-install-data-hook: 134 cd $(DESTDIR)$(mandir) && $(SED) $(ac_inplace) 's/^\.Os$$/.Os OpenZFS/' $(subst %D%/,,$(dist_man_MANS) $(nodist_man_MANS)) 135endif 136