Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Defines printers for generating Makefiles.
Synopsis
- genMake :: RuleTransformer c => [c] -> Doc
- build :: Makefile -> Doc
- printRule :: Rule -> Doc
- printComment :: Comment -> Doc
- wrapSettings :: WrapSettings
- printComments :: Annotation -> Doc
- printPhony :: [Rule] -> Doc
- printTarget :: Target -> Dependencies -> Doc
- printCmd :: Command -> Doc
- printCmds :: [Command] -> Doc
Documentation
genMake :: RuleTransformer c => [c] -> Doc Source #
printComment :: Comment -> Doc Source #
Renders a makefile comment
wrapSettings :: WrapSettings Source #
printComments :: Annotation -> Doc Source #
Renders multiple comments
printPhony :: [Rule] -> Doc Source #
Gathers all rules to abstract targets and tags them as phony.
printTarget :: Target -> Dependencies -> Doc Source #
Renders targets with their dependencies.