aboutsummaryrefslogtreecommitdiffstats
path: root/core/erlc.mk
AgeCommit message (Collapse)Author
2015-06-15Fix details in .app templateLoïc Hoguin
Was using $(MODULES) instead of $(2).
2015-06-15Add corresponding space in the replace regexLoïc Hoguin
Fixes a previous incomplete PR merged by mistake.
2015-06-14Generate the .app file directly from the MakefileLoïc Hoguin
This removes the need for a .app.src file entirely. The PROJECT_* variables and the OTP_DEPS variable allow us to specify everything we need. REL_DEPS and BUILD_DEPS will be added later on to allow users to cleanly specify those without adding them to the .app file.
2015-06-13Merge branch 'fix-modules-attr-app-src' of https://github.com/efcasado/erlang.mkLoïc Hoguin
2015-06-01More autopatch fixesLoïc Hoguin
Some projects had their modules section filled incorrectly, this has been fixed. Merl (used by erlydtl) had its .app file incorrectly moved to .app.src despite having its own Makefile. This has been fixed. A new g++ warning caused some projects with -Werror to fail to compile, this has been fixed. The include path given in rebar.config is now properly used. The project concuerror has been removed temporarily due to a recent change that broke the auto detection. The projects ircbot, exmpp and tsung have been removed temporarily due to broken modules section and will need a custom patch and/or a PR sent to fix them.
2015-05-31Allow whitespace characters in the modules attributeEnrique Fernandez
2015-05-14Add ASN.1 compilation supportLoïc Hoguin
2015-01-12Update copyright yearLoïc Hoguin
Also added a copyright line in the eunit plugin due to the extensive work I have done there a few days ago.
2015-01-10Introduce test builds and unify testing tools interfaceLoïc Hoguin
The general idea is that erlang.mk now keeps track of what kind of build it generated. A test build is valid for all subsequent test target invocations. A normal build is only valid for itself and releases. This rework adds the ability to specify deps to eunit. The EUNIT_DIR variable is gone in favor of a more global TEST_DIR. The tests-ct target got renamed to ct and documented. Many more minor changes were done during the course of testing these changes.
2015-01-07Fix parallel compilationLoïc Hoguin
Parallel compilation is now only enabled for "make" and "make deps app". To ensure order we spawn a new Make process for "deps", "app" and "rel" when the "all" target (or no target) is used.
2014-12-23Build deps, app, rel targets really in that orderDanil Zagoskin
2014-11-25Remove +warn_export_all from the enabled warnings by defaultLoïc Hoguin
People who don't want export_all simply don't use it. The warning is annoying for those edge cases where it's actually useful, as it can't be disabled on a per-file basis.
2014-11-25Group clean-app commandsLoïc Hoguin
Smaller non-verbose output.
2014-11-19Don't try to compile mibs if the mibs/ directory is missingLoïc Hoguin
2014-11-19Merge branch 'compile-mibs' of git://github.com/danielwhite/erlang.mkLoïc Hoguin
Fixed a small whitespace issue in the silent output.
2014-11-18Add support for excluding erl filesEnrique Fernandez
2014-11-15Support for compiling SNMP MIBsDaniel White
This is unfortunately unsuited as a plugin due to its dependence on erlc for compilation. The MIBs must be compiled before an Erlang source.
2014-10-30erlc: update {id, git} in .app.src with git describe outputDave Cottlehuber
2014-08-20Stop printing `-n` when running `make` on OSXDaniel Kempkens
2014-08-15Silence erlc-include target when include/ is missingLoïc Hoguin
2014-08-15Merge branch 'recompile_erl_on_hrl_change' of ↵Loïc Hoguin
git://github.com/crownedgrouse/erlang.mk Extra changes include: * Not running the target if the ebin/ directory does not exist * Moved the target in the appropriate section in the file
2014-08-15Allow explicitly listed modulesIñaki Garay
2014-08-15Fail if no empty modules entry in .app.srcDerek Brown
An empty list is required for the modules tuple, as in {modules, []} so a sed call could populate the list. This is mentioned in README, but can be overlooked. If the empty tuple is not present, relx will fail on missing dependency errors. Therefore, fail make if the empty tuple isn't found, to help the user diagnose the problem.
2014-08-05Recompile all erl files on hrl file modificationcrownedgrouse
2014-05-30Quote module names when producing project.appSina Samavati
2014-05-28Cut erlang.mk into many small componentsLoïc Hoguin
* The build.config says what gets into the generated erlang.mk. * The default erlang.mk in the repository hasn't changed yet. * Clean targets were separated into "clean" and "distclean". * The "help" target was added to display some help message. I probably broke a couple things...