aboutsummaryrefslogtreecommitdiffstats
path: root/doc
AgeCommit message (Collapse)Author
2015-09-14Add Installation chapter in the guideLoïc Hoguin
Short section on Unix, long section on Windows/MSYS2! \o/
2015-09-11Fix external plugins documentationLoïc Hoguin
2015-09-11Add documentation for ERLC_EXCLUDELoïc Hoguin
2015-09-11Add documentation for ERLC_OPTSLoïc Hoguin
2015-09-08Add a chapter Why Erlang.mk?Loïc Hoguin
2015-09-07Add a Limitations chapter to the docsLoïc Hoguin
2015-09-06Add NO_MAKEDEP: don't rebuild .d file if it already existsLoïc Hoguin
This is useful only for projects that are stable and rarely need to rebuild it. Check the guide additions for more info.
2015-09-06Add tests for user generated Erlang source filesLoïc Hoguin
2015-09-03Add missing link to app.asciidoc in guide indexLoïc Hoguin
2015-09-02app.asciidoc: Document how to handle generated source filesJean-Sébastien Pédron
2015-09-02Add dependency tracking (makedep)Loïc Hoguin
This is a very large change of a central part of Erlang.mk. I will admit that I am not quite confident on that one. If you do have issues following this change, please open a ticket and I will look at it immediately. At this point, it works for me, but I wouldn't be surprised to hear about a few minor issues. This commit introduces a dependency file $(PROJECT).d which contains Makefile rules between Erlang source files and headers, behaviors and parse_transforms. This allows us to rebuild only the files that are needed. The $(PROJECT).d is generated automatically when missing, and when any of the files change. It is possible to hook before and after this generation, by defining a $(PROJECT).d:: rule. This allows users to generate Erlang files which are then compiled by Erlang.mk automatically (and to track their dependencies, of course). Here goes nothing...
2015-09-02Disable concurrent building entirelyLoïc Hoguin
Two reasons for doing this: * The current solution for enforcing sequential operations makes a lot of things slower. Either we do it properly or we don't. * Most of Erlang.mk is sequential by nature. There is very little to gain from Make's own parallel building. Something more interesting would be to enable fetching of dependencies concurrently by other means, and enable compilation of Erlang files concurrently (requires patching OTP).
2015-08-27Add support for external pluginsLoïc Hoguin
Plugins can automatically be fetched and included from dependencies. All that is needed is to add either the dependency name or the name + path of the plugin to the DEP_PLUGINS variable. Useful for allowing tools to easily add support for new targets, adding templates or for putting the whole build ecosystem in one common dependency.
2015-08-22Add first three chapters of new documentationLoïc Hoguin