mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
man: use one Makefile, use OpenZFS for .Os
The prevailing style is to use either nothing, or the originating organisational umbrella (here: OpenZFS), and these aren't Linux manpages This also deduplicates the substitution code, and makes adding/removing sexions simpler in future Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12212
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
dist_man_MANS = zhack.1 ztest.1 raidz_test.1 zvol_wait.1 arcstat.1
|
||||
EXTRA_DIST = cstyle.1
|
||||
|
||||
if BUILD_LINUX
|
||||
# The man pager in most Linux distros defaults to BSD instead of Linux
|
||||
# when .Os is blank, but leaving it blank makes things a lot easier on
|
||||
# FreeBSD when OpenZFS is vendored in the base system.
|
||||
install-data-hook:
|
||||
cd $(DESTDIR)$(mandir)/man1; \
|
||||
$(SED) ${ac_inplace} -e 's/^\.Os$$/.Os Linux/' \
|
||||
$(dist_man_MANS)
|
||||
endif
|
||||
Reference in New Issue
Block a user