aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-21 09:48:53 +0200
committerLoïc Hoguin <[email protected]>2015-09-21 09:48:53 +0200
commita535628faa098a0cfde2d1646b75f2054af0bc72 (patch)
treed82e5e316a9ea4fb71c716fe536281886871fc0d /test/core_deps.mk
parent36b55172be18176bac9c2e0883caab590a87afbd (diff)
downloaderlang.mk-a535628faa098a0cfde2d1646b75f2054af0bc72.tar.gz
erlang.mk-a535628faa098a0cfde2d1646b75f2054af0bc72.tar.bz2
erlang.mk-a535628faa098a0cfde2d1646b75f2054af0bc72.zip
Fix core-deps-pkg test with LEGACY=1
Diffstat (limited to 'test/core_deps.mk')
-rw-r--r--test/core_deps.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk
index f06a912..9795767 100644
--- a/test/core_deps.mk
+++ b/test/core_deps.mk
@@ -25,6 +25,12 @@ core-deps-pkg: build clean-core-deps-pkg
DEPS = cowboy\
' $(APP)/Makefile
+ifdef LEGACY
+ $i "Add Cowboy to the applications key in the .app.src file"
+ $t sed -i.bak '8i\
+ cowboy,' $(APP)/src/$(APP).app.src
+endif
+
$i "Build the application"
$t $(MAKE) -C $(APP) $v