Commit a69c73fe authored by Andrey Mokhov's avatar Andrey Mokhov

Drop the redundant build rule for literate Perl scripts

parent 830567e3
......@@ -54,7 +54,6 @@ executable hadrian
, Rules.Install
, Rules.Libffi
, Rules.Library
, Rules.Perl
, Rules.Program
, Rules.Register
, Rules.Selftest
......
......@@ -17,7 +17,6 @@ import qualified Rules.Configure
import qualified Rules.Gmp
import qualified Rules.Libffi
import qualified Rules.Library
import qualified Rules.Perl
import qualified Rules.Program
import qualified Rules.Register
import Settings
......@@ -115,7 +114,6 @@ buildRules = do
Rules.Gmp.gmpRules
Rules.Libffi.libffiRules
packageRules
Rules.Perl.perlScriptRules
oracleRules :: Rules ()
oracleRules = do
......
module Rules.Perl (perlScriptRules) where
import Base
import Builder
-- TODO: Do we need this build rule?
-- | Build Perl scripts, such as @ghc-split@, from their literate Perl sources.
perlScriptRules :: Rules ()
perlScriptRules = do
"//*.prl" %> \out -> do
let src = out -<.> "lprl"
need [src]
runBuilder Unlit [src, out] [src] [out]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment