aboutsummaryrefslogtreecommitdiffstats
path: root/doc
AgeCommit message (Collapse)Author
2017-10-07docs: use `make` instead of deprecated homebrew `homebrew/dupes/mak`rheza
2017-09-17Add trick for exporting C build flags to sub-MakefilesLoïc Hoguin
Thanks to dozzie on IRC for the suggestion.
2017-08-28Tweak newly added docsLoïc Hoguin
2017-08-28Document CI and OTP version management/pinningLoïc Hoguin
2017-05-26Fix a typoLoïc Hoguin
Thanks to Eric Pailleau for reporting it!
2017-05-25Edit the previous doc additionLoïc Hoguin
2017-05-25Document workaround with relx semver valueStanislav Ovchar
2017-05-17Add a note about Windows CRLF2017.05.18Loïc Hoguin
2017-05-15Add tweaks and tests for the WITHOUT featureLoïc Hoguin
2017-05-15Add WITHOUT variable to exclude components on buildbenoitc
This allows to ignore lines from the default build.config if needed. For example to not include packages run make WITHOUT=index
2017-05-15Support plugins local to the applicationJean-Sébastien Pédron
If the application's Makefile specify either: DEP_PLUGINS = $(PROJECT) or e.g.: DEP_PLUGINS = $(PROJECT)/mk/dist.mk then load the plugin from the application instead of a dependency. This helps when you have an application with common Erlang modules and Erlang.mk plugins: your common application can load Erlang.mk plugins exactly like other applications depending on the common application.
2017-05-15Add dep_fetch_lnderwinlu
2017-05-15Make autopatch of Erlang.mk projects less obtrusiveLoïc Hoguin
We do not touch the erlang.mk file anymore. We only patch the Makefile to include the top-level Erlang.mk by changing the 'include erlang.mk' line to look for ERLANG_MK_FILENAME if it is defined. The modified Makefile can be committed safely.
2017-05-12Support early-stage plugins through `$(DEP_EARLY_PLUGINS)`Jean-Sébastien Pédron
Regular plugins (`$(DEP_PLUGINS)`) are loaded near the end of Erlang.mk. This is fine when you want to modify variables initialized earlier in Erlang.mk or add new targets and variables. However, it doesn't allow you to declare more dependencies because they are loaded too late for that. This commit introduces a new variable, `$(DEP_EARLY_PLUGINS)`, which can be used to list plugins meant to be loaded near the beginning of Erlang.mk. Those allow to append to the list of dependencies. They work exactly like regular plugins otherwise. The default filename loaded is `early-plugins.mk`.
2017-04-25compile apps in the right order by looking at their LOCAL_DEPSJeffrey Griffin
we also use LOCAL_DEPS at the top-level, if it exists, to determine which local apps to compile, in the interest of saving compile time for projects that have many apps and multiple release configurations
2017-02-08Fix Archlinux Installation Instructionsderwinlu
Suggesting -Sy is a terrible idea[1]. This commit replaces it with -S which is the default on how packages should be added on Archlinux. Resolves #662. [1]: https://bbs.archlinux.org/viewtopic.php?id=89328
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-11-26Add CT_LOGS_DIRnevar
2016-11-03Clarify gmake commands on FreeBSD/HomebrewLoïc Hoguin
[ci skip]
2016-11-01Document ESCRIPT_ZIP=zip and Ubuntu's p7zip-fullLoïc Hoguin
[ci-skip]
2016-10-30Greatly improve the escript supportLoïc Hoguin
The plugin can now easily generate escripts as complex as relx or rebar/rebar3. It generates a proper structure and allows embedding extra files by extending the escript-zip target. Documentation and tests have been added.
2016-10-29Add chapter about self-extracting releasesLoïc Hoguin
[ci-skip]
2016-10-28Add "make relup"Loïc Hoguin
The initial documentation is a bit rough. It's getting late and I'd like to have this in sooner rather than later. :-)
2016-10-25Simplify the curl method to get erlang.mkLoïc Hoguin
2016-10-25core/deps-tools.mk: New targets `fetch-deps` and `list-deps`Jean-Sébastien Pédron
.. to fetch and list deps recurvively. Therefore, they work on direct dependencies, dependencies' dependencies, and so on. Nothing is built with those targets. The following targets are also available to work on other kinds of dependencies: make fetch-doc-deps make fetch-rel-deps make fetch-test-deps make fetch-shell-deps make list-doc-deps make list-rel-deps make list-test-deps make list-shell-deps In all cases, they include "normal" and eg. "test" dependencies of the top-level project, then only "normal" dependencies' dependencies. It's possible to include several kinds in one go: make fetch-deps DEP_TYPES='doc test' make list-deps DEP_TYPES='doc test' As it may be difficult to use the output of `make list-*` because the list could appear after other targets output (like dependencies fetching), the list is available in files pointed by the following variables: $(ERLANG_MK_RECURSIVE_DEPS_LIST) $(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST) $(ERLANG_MK_RECURSIVE_REL_DEPS_LIST) $(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST) $(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST) Internally, `list-deps` is simply implemented on top of `fetch-deps`: the latter fills a sorted log with all the directories it traversed. `list-deps` finally just prints the log file to stdout. Fixes #560.
2016-10-25installation.asciidoc: Fix Erlang package name on FreeBSDJean-Sébastien Pédron
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-22Add hexpm.mk to the list of pluginsLoïc Hoguin
2016-10-21Update Copyright notices2016.10.21Loïc Hoguin
2016-10-21Deprecate Make 3Loïc Hoguin
A warning will be displayed for the time being while we keep compatibility. Also improves installation docs for Unix.
2016-10-19Add PROJECT_ENVnevar
Fix #587
2016-07-14Fix snippet when using curlLoïc Hoguin
2016-06-09Use https://erlang.mk/erlang.mk in the guideLoïc Hoguin
2016-06-07Add PROJECT_MOD var to make the app callback module configurableJared Flatow
2016-06-06Add rust.mk to plugin listDaniel Goertzen
2016-04-03Add a "getting started from scratch" sectionLoïc Hoguin
2016-03-27Add Jorel in the plugin listglejeune
2016-03-19Merge branch 'doc_deps_local_rep' of https://github.com/ingwinlu/erlang.mkLoïc Hoguin
2016-02-26Merge branch 'mix.mk' of https://github.com/botsunit/erlang.mkLoïc Hoguin
2016-02-21Add the Mix plugin to the listglejeune
2016-02-03Reference AsciiDoc requirements in contributingderwinlu
2016-02-03Add Requirements to AsciiDoc documentationderwinlu
2016-02-03Add multi-applications to 7.6 headerderwinlu
To help find the section when looking through the index.
2016-01-10Add a note about hiding Erlang.mk from diffsLoïc Hoguin
2016-01-09Remove Triq from overviewLoïc Hoguin
2016-01-09Remove "Property based testing" from planned documentationLoïc Hoguin
Triq will be documented in its own plugin later on.
2016-01-09Add AsciiDoc tests and documentationLoïc Hoguin
Also fixes install-docs to allow installing regardless of being root or a normal user. The current user/group will be used for the installed files.
2016-01-09Test and document EDocLoïc Hoguin
A change was made to the automatic EDoc generation when running 'make docs'. It is now only done if a doc/overview.edoc file exists. This behavior can of course be enabled back by adding it to the Makefile.
2016-01-08Add the Efene plugin to the listLoïc Hoguin
2016-01-03Add elixir.mk and lfe.mk to the plugins listLoïc Hoguin