aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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-25Add KERL_MAKEFLAGS optionLoïc Hoguin
2016-10-25Fetch kerl using gitLoïc Hoguin
Safer than through insecure HTTPS.
2016-10-25Add ci-prepare to .PHONYLoïc Hoguin
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-21Don't include erlang.mk file in diffsLoïc Hoguin
2016-10-21Update Copyright notices2016.10.21Loïc Hoguin
2016-10-21Erlang.mk is rolling releasesLoï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-20Add a test that included templates are relative to the originalLoïc Hoguin
2016-10-20Fix several problems with the erlydtl plugin:Jared Flatow
DTL_SUFFIX: - make sure it is actually used - add a test for it (and one combined with other options) DTL_PATH: - handle correctly with or without trailing / - don't hard-code the `doc_root` opt - the erlydtl default is better
2016-10-19Escape % in app_file templatenevar
2016-10-19Add PROJECT_ENVnevar
Fix #587
2016-10-19Cosmetic changes to previous mergeLoïc Hoguin
2016-10-19Added implementation to resolve test.Micah Warren
2016-10-19Added test for defining yecc header file.Micah Warren
2016-10-19merge PortSpec env into each output envHesaam Farhang
2016-10-18Fix erlexec application nameAdam Cammack
erlexec now requires that particular name in order to successfully boot.
2016-10-09Support C compiler flag overrides for dependenciesFrank Hunleth
This change makes it possible to override the ERL_CFLAGS and ERL_LDFLAGS Makefile variables in project dependencies. For the main project, the ability to override variables associated with C compilation already existed in plugins/c_src.mk. With this change, the C compiler flag semantics are similar for both the main project and dependencies. This is important for cases where the automatically determined values for the ERTS include and library directories are incorrect. This happens in cross-compiled environments where they point to the host's include and library directories. However, the desired behaviour is to have them point to those that have been cross-compiled for the target.
2016-10-04Fix path issues when running triq tests on WindowsLoïc Hoguin
2016-10-04Update rebar (should be correct this time)Loïc Hoguin
2016-10-04Revert "Update rebar in autopatch"Loïc Hoguin
This reverts commit d5c32474e0690a32371fb8fb0b5d2db2c567269b.
2016-10-04Update rebar in autopatchLoïc Hoguin
This should fix some Windows issues.
2016-10-04add snappyer to indexZaiming Shi
2016-10-04Fix a small inconsistency when building for CILoïc Hoguin
We need to clean before attempting to wildcard ebin/test. To do that, we need to invoke "make clean" separately.
2016-09-13Merge branch 'fix-dialyzer-ERLC_OPTS-filtering' of ↵Loïc Hoguin
https://github.com/rabbitmq/erlang.mk
2016-09-09Merge branch 'fix-typo-XREFR_ARGS' of https://github.com/rabbitmq/erlang.mkLoïc Hoguin
2016-09-09Remove an unnecessary step in dialyzer-beam testLoïc Hoguin
2016-09-09Add a test for using Dialyzer against BEAM filesLoïc Hoguin
2016-09-08dialyzer.mk: Use the shell to parse command line argsJean-Sébastien Pédron
Splitting arguments on `-` was dangerous: if a path contained such a character, it would be split and the second half thrown away by the filtering. Now, `$(ERLC_OPTS)` is passed to erl(1) after `-extra`. Thus arguments parsing is done by the shell and we only have to call init:get_plain_arguments/0 to get them as a list.
2016-09-08plugins/xref.mk: Fix typo in variable `XREFR_ARGS`Jean-Sébastien Pédron
2016-09-04Fix chumak versionLoïc Hoguin
1.1.1 didn't exist, so I put master for now.
2016-09-03Delete erlangzmq.mkAndriy Drozdyuk
2016-09-03Add package chumak to the indexAndriy Drozdyuk
2016-07-30Add package erlangzmq to the indexAndriy Drozdyuk
2016-07-14Fix snippet when using curlLoïc Hoguin
2016-07-14Build apps/* only onceKrister Svanlund
Replicating the behavior for deps/*. With refactoring from Loïc.
2016-06-09Clean up output from a previous commitLoïc Hoguin
2016-06-09Use https://erlang.mk/erlang.mk in the guideLoïc Hoguin
2016-06-09Merge branch 'var-app-mod' of https://github.com/jflatow/erlang.mkLoïc Hoguin
2016-06-08Fix rust.mk package info.Daniel Goertzen
2016-06-08Add a test case for custom PROJECT_MODJared Flatow
2016-06-07Add PROJECT_MOD var to make the app callback module configurableJared Flatow
2016-06-06Add rust.mk to plugin listDaniel Goertzen
2016-06-06Add Rust plugin and helper library to indexDaniel Goertzen
2016-05-17Fix for issue 447.Daniel Goertzen
Create ebin dir for all apps_dir apps before building any of them.
2016-05-17Add test case demonstrating issue 447.Daniel Goertzen
Erlc will not include_lib() apps that do not have an ebin/ directory. This test case demonstrates that.
2016-05-03Update syn.mkRoberto Ostinelli