bat: fix build

The manual page is not in doc/man.1 but somewhere in the build tree.
This commit is contained in:
Jürgen Buchmüller 2020-04-14 12:00:07 +02:00
parent a5196ae7d8
commit a4dbd76399
1 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,10 @@ pre_build() {
}
post_install() {
local manpage
vlicense LICENSE-MIT
vdoc README.md
vman doc/bat.1
# The manual page is hidden somewhere deep in the build tree
manpage=$(find ${wrksrc}/target -name bat.1)
vman ${manpage}
}