Haskell makefile library
April 29, 2017

I’ve just released a new version of
makefile
, the Haskell library for parsing
and generating Makefiles. The new version is available on
hackage and on
stackage. The code is available on
github.
What happened since the last version:
-
The
Makefile
data-structure can now be encoded throughencodeMakefile
. This does what you expect: encode your Haskell-craftedMakefile
as a Makefile that can be used with GNU make, for instance. Big thanks to Michel Kuhlmann for implementing the feature. -
The library now uses
text
instead ofbytestring
. All types reflect the change. Thanks to Mateusz Kowalczyk for complaining about it. -
It is now possible to differentiate the various kinds of Makefile variable assignments.
-
Various discrepancies between the library and GNU make’s parsing were fixed. Big thanks to Ryan Scott for reporting those.
I hope you have fun using the library. Don’t hesitate to submit patches or feature requests on GitHub.
Let me know if you enjoyed this article or raise an issue if something doesn't look right!
Like Haskell? Here's more on the topic: