aboutsummaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)Author
2014-08-12Added missing ; in dep_targetPeer Stritzinger
The missing ; makes the DEPPKG= line run together with the VS= line which makes it similar to this FreeBSD 8.2 /bin/sh results: $ A=x B=$A; $ echo $A x $ echo $B $ The same with bash: $ A=x B=$A; $ echo $A x $ echo $B x
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-13Add error message before failing due to invalid dependencyDerek Brown
If a dependency specified in DEPS is unknown or invalid (its VS is not "git"), erlang.mk will fail. Now, add a human-readable error message to help the user understand what the problem is.
2014-08-05Recompile all erl files on hrl file modificationcrownedgrouse
2014-08-02Change extend -> ninenines linksLoïc Hoguin
2014-08-01Fix fetching of deps specified in the MakefileLoïc Hoguin
2014-07-31Fix package fetching0.3.0Loïc Hoguin
Two issues got fixed: * The variable name for the package file got changed to PKG_FILE2 to avoid conflicts with the PKG_FILE from previous erlang.mk versions. * The way repositories are fetched changed to fix an issue preventing fetching the package file *and* the repositories on the same invokation.
2014-07-25Strip whitespace around the PROJECT variableLoïc Hoguin
2014-07-25Use $(error ...) for pkg-search targetLoïc Hoguin
2014-07-22Merge branch 'patch-71' of git://github.com/andreineculau/erlang.mkLoïc Hoguin
2014-07-22Improve detection of dependency support for makeAndrei Neculau
2014-07-20Change package index file format and deps handlingLoïc Hoguin
This commit adds two columns to the package index file: the method used to retrieve the dependency (only git supported at this point) and the preferred version (a commit or equivalent in the case of git). Now that all the necessary information is in the package index file, the dep_* lines become optional. It is possible to fetch dependencies by just listing it in the DEPS variable, for example this would fetch both cowboy and jsx: DEPS = cowboy jsx The dep_* line can be used to override the defaults. It now takes three values, the method used to retrieve the dependency, the repository URL and the preferred version. The only change from before is the first value being added.
2014-06-10fixed problem of fetching package file.Andrzej Sliwa
2014-05-30Quote module names when producing project.appSina Samavati
2014-05-28Change GitHub raw file URLTyler Margison
GitHub issues a 301 Moved Permanently response on all calls to `https://raw.github.com`, which redirects to `https://raw.githubusercontent.com`.
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...