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:
Martin Afanasjew 2016-06-06 19:07:47 +02:00
parent 77d88f76b2
commit c7aecb4dc0

View file

@ -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