drasil-build-0.1.1.0: A framework for code and document generation for scientific software - Build System SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Build.Drasil.Make.Import

Description

Defines classes and constructors for Makefile generators.

Synopsis

Classes

class RuleTransformer c where Source #

Members can be transformed into a make rule.

Methods

makeRule :: c -> [Rule] Source #

Constructors

toMake :: RuleTransformer c => [c] -> Makefile Source #

Creates a Makefile (calls makeRules).

makeRules :: RuleTransformer c => [c] -> [Rule] Source #

Helper for creating make rules for different document types.