mupdf-tools: add mudraw symlink
Other distributions (e.g. Debian) provide a `mudraw` binary by default. Appease users and scripts accustomed to this by providing a matching symbolic link that behaves identically to `mutool draw`. Closes #1747.
This commit is contained in:
parent
77d88f76b2
commit
c7aecb4dc0
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@ class MupdfTools < Formula
|
|||
"HAVE_X11=no",
|
||||
"CC=#{ENV.cc}",
|
||||
"prefix=#{prefix}"
|
||||
|
||||
# Symlink `mutool` as `mudraw` (a popular shortcut for `mutool draw`).
|
||||
bin.install_symlink bin/"mutool" => "mudraw"
|
||||
man1.install_symlink man1/"mutool.1" => "mudraw.1"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue