Commit 9566d564 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Add Config.hs (autoconf and configure rules).

parent 4e03b1c4
module Config (
autoconfRules, configureRules
) where
import Development.Shake
import Development.Shake.Command
import Development.Shake.FilePath
import Development.Shake.Rule
import Control.Applicative
import Control.Monad
import Base
import Oracles
autoconfRules :: Rules ()
autoconfRules = do
"shake/configure" %> \out -> do
need ["shake/"]
cmd $ "bash shake/autoconf"
configureRules :: Rules ()
configureRules = do
"shake/default.config" %> \out -> do
need ["shake/", "shake/configure"]
cmd $ "bash shake/configure"
Supports Markdown
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