Minor revision
[hadrian.git] / src / Settings / Packages / Hp2ps.hs
1 module Settings.Packages.Hp2ps (hp2psPackageArgs) where
2
3 import Base
4 import GHC
5 import Predicate
6 import Settings
7
8 hp2psPackageArgs :: Args
9 hp2psPackageArgs = package hp2ps ? do
10 path <- getBuildPath
11 let cabalMacros = path -/- "build/autogen/cabal_macros.h"
12 builder Ghc ? mconcat [ arg "-no-hs-main"
13 , remove ["-hide-all-packages"]
14 , removePair "-optP-include" $ "-optP" ++ cabalMacros ]