Ignore-this: 50d3356bb845ae964e3a4b45cac0235d darcs-hash:20090829135510-a4fee-131e4610a14dbd1b9f6d17aa65f41e2b5458311e
14 lines
638 B
Haskell
14 lines
638 B
Haskell
module Main where
|
|
|
|
import Distribution.Simple
|
|
import Data.Encoding.Preprocessor.Mapping
|
|
import Data.Encoding.Preprocessor.XMLMappingBuilder
|
|
|
|
main = defaultMainWithHooks (simpleUserHooks
|
|
{hookedPreProcessors = (("mapping",\_ _ -> mappingPreprocessor)
|
|
:("mapping2",\_ _ -> mappingPreprocessor)
|
|
:("xml",\_ _ -> xmlPreprocessor)
|
|
:(hookedPreProcessors simpleUserHooks)
|
|
)
|
|
})
|