makefile: Disallow macOS from installing manpages.

Since the directory structure on macOS is not even close to the one in
Linux systems, I've decided to stop making it attempt to install the
manpages.
This commit is contained in:
Lux Aliaga 2022-09-28 14:54:13 -03:00
parent 0c08bc0a29
commit 21c477e2ce
Signed by: lux
GPG Key ID: B56C805968637437
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ command = "cargo"
args = ["install", "--path", "."]
[tasks.install-manpages]
condition = { platforms = ["linux", "mac"] }
condition = { platforms = ["linux"] }
script = [
"cp /tmp/vento-man/* $HOME/.local/share/man/man1/",
"rm -rf /tmp/vento-man"
@ -20,7 +20,7 @@ command = "cargo"
args = ["clean"]
[tasks.clean-manpages]
condition = { platforms = ["linux", "mac"] }
condition = { platforms = ["linux"] }
script = [
"rm -rf /tmp/vento-man"
]