xref: /freebsd/sys/contrib/openzfs/man/Makefile.am (revision 8eb2bee6c0f4957c6c1cea826e59cda4d18a2a64)
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/zfsconcepts.7 \
19	%D%/man7/zfsprops.7 \
20	%D%/man7/zpool-features.7 \
21	%D%/man7/zpoolconcepts.7 \
22	%D%/man7/zpoolprops.7 \
23	\
24	%D%/man8/fsck.zfs.8 \
25	%D%/man8/mount.zfs.8 \
26	%D%/man8/vdev_id.8 \
27	%D%/man8/zdb.8 \
28	%D%/man8/zfs.8 \
29	%D%/man8/zfs-allow.8 \
30	%D%/man8/zfs-bookmark.8 \
31	%D%/man8/zfs-change-key.8 \
32	%D%/man8/zfs-clone.8 \
33	%D%/man8/zfs-create.8 \
34	%D%/man8/zfs-destroy.8 \
35	%D%/man8/zfs-diff.8 \
36	%D%/man8/zfs-get.8 \
37	%D%/man8/zfs-groupspace.8 \
38	%D%/man8/zfs-hold.8 \
39	%D%/man8/zfs-inherit.8 \
40	%D%/man8/zfs-jail.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-unjail.8 \
60	%D%/man8/zfs-unload-key.8 \
61	%D%/man8/zfs-unmount.8 \
62	%D%/man8/zfs-unzone.8 \
63	%D%/man8/zfs-upgrade.8 \
64	%D%/man8/zfs-userspace.8 \
65	%D%/man8/zfs-wait.8 \
66	%D%/man8/zfs-zone.8 \
67	%D%/man8/zfs_ids_to_path.8 \
68	%D%/man8/zgenhostid.8 \
69	%D%/man8/zinject.8 \
70	%D%/man8/zpool.8 \
71	%D%/man8/zpool-add.8 \
72	%D%/man8/zpool-attach.8 \
73	%D%/man8/zpool-checkpoint.8 \
74	%D%/man8/zpool-clear.8 \
75	%D%/man8/zpool-create.8 \
76	%D%/man8/zpool-destroy.8 \
77	%D%/man8/zpool-detach.8 \
78	%D%/man8/zpool-events.8 \
79	%D%/man8/zpool-export.8 \
80	%D%/man8/zpool-get.8 \
81	%D%/man8/zpool-history.8 \
82	%D%/man8/zpool-import.8 \
83	%D%/man8/zpool-initialize.8 \
84	%D%/man8/zpool-iostat.8 \
85	%D%/man8/zpool-labelclear.8 \
86	%D%/man8/zpool-list.8 \
87	%D%/man8/zpool-offline.8 \
88	%D%/man8/zpool-online.8 \
89	%D%/man8/zpool-reguid.8 \
90	%D%/man8/zpool-remove.8 \
91	%D%/man8/zpool-reopen.8 \
92	%D%/man8/zpool-replace.8 \
93	%D%/man8/zpool-resilver.8 \
94	%D%/man8/zpool-scrub.8 \
95	%D%/man8/zpool-set.8 \
96	%D%/man8/zpool-split.8 \
97	%D%/man8/zpool-status.8 \
98	%D%/man8/zpool-sync.8 \
99	%D%/man8/zpool-trim.8 \
100	%D%/man8/zpool-upgrade.8 \
101	%D%/man8/zpool-wait.8 \
102	%D%/man8/zstream.8 \
103	%D%/man8/zstreamdump.8 \
104	%D%/man8/zpool_influxdb.8
105
106nodist_man_MANS = \
107	%D%/man8/zed.8 \
108	%D%/man8/zfs-mount-generator.8
109
110dist_noinst_DATA += $(dist_noinst_man_MANS) $(dist_man_MANS)
111
112SUBSTFILES += $(nodist_man_MANS)
113
114CHECKS += mancheck
115mancheck:
116	$(top_srcdir)/scripts/mancheck.sh $(srcdir)/%D%
117
118
119if BUILD_LINUX
120# The manual pager in most Linux distros defaults to "BSD" when .Os is blank,
121# but leaving it blank makes things a lot easier on
122# FreeBSD when OpenZFS is vendored in the base system.
123INSTALL_DATA_HOOKS += man-install-data-hook
124man-install-data-hook:
125	cd $(DESTDIR)$(mandir) && $(SED) $(ac_inplace) 's/^\.Os$$/.Os OpenZFS/' $(subst %D%/,,$(dist_man_MANS) $(nodist_man_MANS))
126endif
127