diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-09-02 18:22:15 -0400 |
---|---|---|
committer | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2020-12-01 21:39:09 +0000 |
commit | 2a622d0f05d240fc662bdd85266762c89e7bc370 (patch) | |
tree | 051581189292540ee8ab98af3705fa032f3ae2c5 | |
parent | 85822a8881a7463b479b07d0b4d627a44930f058 (diff) | |
download | haskell-2a622d0f05d240fc662bdd85266762c89e7bc370.tar.gz |
hadrian: Pass input file to makeindex
Strangely I find that on Alpine (and apparently only on Alpine) the
latex makeindex command expects to be given a filename, lest it reads
from stdin.
(cherry picked from commit 389a668343c0d4f5fa095112ff98d0da6998e99d)
-rw-r--r-- | hadrian/src/Builder.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Builder.hs b/hadrian/src/Builder.hs index 0187fdd724..29e265f87e 100644 --- a/hadrian/src/Builder.hs +++ b/hadrian/src/Builder.hs @@ -282,7 +282,7 @@ instance H.Builder Builder where cmd' echo [path] "--no-split" [ "-o", output] [input] Xelatex -> unit $ cmd' [Cwd output] [path] buildArgs - Makeindex -> unit $ cmd' [Cwd output] [path] buildArgs + Makeindex -> unit $ cmd' [Cwd output] [path] (buildArgs ++ [input]) Tar _ -> cmd' buildOptions echo [path] buildArgs _ -> cmd' echo [path] buildArgs |