aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/app.asciidoc
AgeCommit message (Collapse)Author
2017-01-12Set ASN.1 compilation options using ERLC_ASN1_OPTS2017.01.12Klas Johansson
`ERLC_ASN1_OPTS` can be used to pass compiler options when compiling ASN.1 files. By default, Erlang.mk will leave this empty, but it can be redefined in a Makefile.
2016-10-23Support PROJECT_APP_EXTRA_KEYS to add keys to the .app fileJean-Sébastien Pédron
This allows to add standard keys which do not have a corresponding `PROJECT_` Makefile variable, as well as non-standard keys.
2016-10-19Add PROJECT_ENVnevar
Fix #587
2016-06-07Add PROJECT_MOD var to make the app callback module configurableJared Flatow
2015-12-30Replace broken links with cross referencesLoïc Hoguin
2015-12-30Replace a link: with an xref:Loïc Hoguin
Trying it out to see if it fixes a new issue noticed on erlang.mk.
2015-12-29 Fix invalid link to documentationcrownedgrouse
2015-12-29Generate proper filenames in the docs' HTML outputLoïc Hoguin
This will allow to provide permanent URLs to the documentation.
2015-11-18Fix target dependencies and enable parallel again2.0.0-pre.2Loïc Hoguin
We can now use 'make -j 32' again. All tests pass. There might be some issues left with the areas that are not fully tested yet (some plugins). A few changes in behavior: * 'make app' will also do 'make deps' unless SKIP_DEPS is set. You can use 'make app-build' instead to just build the application. * 'make rel' will also do 'make app' (and therefore deps). There are no alternative target to keep the old behavior at this time.
2015-10-19Remove mention of OTP_DEPS from the docsLoïc Hoguin
2015-09-19Add another note about legacy .app.src methodLoïc Hoguin
[ci-skip]
2015-09-18Add section about auto generated id key in .app fileLoïc Hoguin
2015-09-11Add documentation for ERLC_EXCLUDELoïc Hoguin
2015-09-11Add documentation for ERLC_OPTSLoï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-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...