latex2html: install .sty files to share
By default latex2html will install to a TeX folder which it may not have permissions for, or may not be appropriate. Follow MacPorts and install to a known path. Closes Homebrew/homebrew#22808.
This commit is contained in:
parent
33c599eb6a
commit
bdd9049533
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ class Latex2html < Formula
|
|||
depends_on :tex => :recommended
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--without-mktexlsr"
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--without-mktexlsr",
|
||||
"--with-texpath=#{share}/texmf/tex/latex/html"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue