xref: /freebsd/sys/contrib/openzfs/man/Makefile.am (revision e2df9bb44109577475aeb186e7186ac040f9bde1)
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-ddtprune.8 \
76	%D%/man8/zpool-events.8 \
77	%D%/man8/zpool-export.8 \
78	%D%/man8/zpool-get.8 \
79	%D%/man8/zpool-history.8 \
80	%D%/man8/zpool-import.8 \
81	%D%/man8/zpool-initialize.8 \
82	%D%/man8/zpool-iostat.8 \
83	%D%/man8/zpool-labelclear.8 \
84	%D%/man8/zpool-list.8 \
85	%D%/man8/zpool-offline.8 \
86	%D%/man8/zpool-online.8 \
87	%D%/man8/zpool-prefetch.8 \
88	%D%/man8/zpool-reguid.8 \
89	%D%/man8/zpool-remove.8 \
90	%D%/man8/zpool-reopen.8 \
91	%D%/man8/zpool-replace.8 \
92	%D%/man8/zpool-resilver.8 \
93	%D%/man8/zpool-scrub.8 \
94	%D%/man8/zpool-set.8 \
95	%D%/man8/zpool-split.8 \
96	%D%/man8/zpool-status.8 \
97	%D%/man8/zpool-sync.8 \
98	%D%/man8/zpool-trim.8 \
99	%D%/man8/zpool-upgrade.8 \
100	%D%/man8/zpool-wait.8 \
101	%D%/man8/zstream.8 \
102	%D%/man8/zstreamdump.8 \
103	%D%/man8/zpool_influxdb.8
104
105if BUILD_FREEBSD
106dist_man_MANS += \
107	%D%/man8/zfs-jail.8 \
108	%D%/man8/zfs-unjail.8
109endif
110
111if BUILD_LINUX
112dist_man_MANS += \
113	%D%/man8/zfs-unzone.8 \
114	%D%/man8/zfs-zone.8
115endif
116
117nodist_man_MANS = \
118	%D%/man8/zed.8 \
119	%D%/man8/zfs-mount-generator.8 \
120	%D%/man8/zfs_prepare_disk.8
121
122dist_noinst_DATA += $(dist_noinst_man_MANS) $(dist_man_MANS)
123
124SUBSTFILES += $(nodist_man_MANS)
125
126CHECKS += mancheck
127mancheck:
128	$(top_srcdir)/scripts/mancheck.sh $(srcdir)/%D%
129
130
131if BUILD_LINUX
132# The manual pager in most Linux distros defaults to "BSD" when .Os is blank,
133# but leaving it blank makes things a lot easier on
134# FreeBSD when OpenZFS is vendored in the base system.
135INSTALL_DATA_HOOKS += man-install-data-hook
136man-install-data-hook:
137	cd $(DESTDIR)$(mandir) && $(SED) $(ac_inplace) 's/^\.Os$$/.Os OpenZFS/' $(subst %D%/,,$(dist_man_MANS) $(nodist_man_MANS))
138endif
139