Skip to content

Commit

Permalink
Add manpath.d entry
Browse files Browse the repository at this point in the history
OpenZFS on OSX installs a `paths.d` entry (ref etc/paths.d/zfs.in) for
binaries, but not an `/etc/manpaths.d/` pointing to the appropriate man
pages. This commit intends to rectify that missing entry.

Signed-off-by: Matthew Cengia <mattcen@mattcen.com>
  • Loading branch information
mattcen committed Sep 18, 2024
1 parent b803d54 commit 736e854
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions etc/manpaths.d/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pathsddir = $(sysconfdir)/manpaths.d
pathsd_DATA = zfs

EXTRA_DIST = \
zfs

zfs: zfs.in

$(pathsd_DATA):
-$(SED) -e 's,@mandir\@,$(mandir),g' \
'$@.in' >'$@'

distclean-local::
-$(RM) $(pathsd_DATA)
1 change: 1 addition & 0 deletions etc/manpaths.d/zfs.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@mandir@

0 comments on commit 736e854

Please sign in to comment.