-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.save
57 lines (48 loc) · 2.35 KB
/
Makefile.save
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PROJECT = emq-relx
PROJECT_DESCRIPTION = Release Project for the EMQ Broker
PROJECT_VERSION = 2.1.0
DEPS = emqttd emq_modules emq_dashboard emq_retainer emq_recon emq_reloader \
emq_auth_clientid emq_auth_username emq_auth_ldap emq_auth_http \
emq_auth_mysql emq_auth_pgsql emq_auth_redis emq_auth_mongo \
emq_sn emq_coap emq_stomp emq_plugin_template emqttd_plugin_kafka_bridge \
# emq deps
dep_emqttd = git https://github.com/emqtt/emqttd master
dep_emq_modules = git https://github.com/emqtt/emq-modules master
dep_emq_dashboard = git https://github.com/emqtt/emq-dashboard master
dep_emq_retainer = git https://github.com/emqtt/emq-retainer master
dep_emq_recon = git https://github.com/emqtt/emq-recon master
dep_emq_reloader = git https://github.com/emqtt/emq-reloader master
dep_emqttd_plugin_kafka_bridge = git https://github.com/Zarathos94/emqttd_kafka_plugin_rev.git master
# emq auth/acl plugins
dep_emq_auth_clientid = git https://github.com/emqtt/emq-auth-clientid master
dep_emq_auth_username = git https://github.com/emqtt/emq-auth-username master
dep_emq_auth_ldap = git https://github.com/emqtt/emqv2.1.0-beta.1
dep_emq_auth_http = git https://github.com/emqtt/emq-auth-http v2.1.0-beta.1
dep_emq_auth_mysql = git https://github.com/emqtt/emq-auth-mysql v2.1.0-beta.1
dep_emq_auth_pgsql = git https://github.com/emqtt/emq-auth-pgsql v2.1.0-beta.1
dep_emq_auth_redis = git https://github.com/emqtt/emq-auth-redis v2.1.0-beta.1
dep_emq_auth_mongo = git https://github.com/emqtt/emq-auth-mongo v2.1.0-beta.1
# mqtt-sn, coap and stomp
dep_emq_sn = git https://github.com/emqtt/emq-sn v0.2.7
dep_emq_coap = git https://github.com/emqtt/emq-coap v0.2.7
dep_emq_stomp = git https://github.com/emqtt/emq-stomp v2.1.0-beta.1
# plugin template
dep_emq_plugin_template = git https://github.com/emqtt/emq-plugin-template v2.1.0-beta.1
# COVER = true
include erlang.mk
plugins:
@rm -rf rel
@mkdir -p rel/conf/plugins/ rel/schema/
@for conf in $(DEPS_DIR)/*/etc/*.conf* ; do \
if [ "emq.conf" = "$${conf##*/}" ] ; then \
cp $${conf} rel/conf/ ; \
elif [ "acl.conf" = "$${conf##*/}" ] ; then \
cp $${conf} rel/conf/ ; \
else \
cp $${conf} rel/conf/plugins ; \
fi ; \
done
@for schema in $(DEPS_DIR)/*/priv/*.schema ; do \
cp $${schema} rel/schema/ ; \
done
app:: plugins