summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-10-07 10:31:03 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-10-07 10:31:03 +0300
commit6a3691ef7ce33c17d379ba40fa0c27f21c5ed75d (patch)
tree846810a4086c93f4dd7bd8ef84b15c449697fa2e /Makefile.in
parentPubSub: creation jid must be bare jid (diff)
Add xdata generator and make some code using it
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 07502f06..728b2fa9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -110,7 +110,11 @@ edoc:
spec:
$(ERL) -noinput +B -pa ebin -pa deps/*/ebin -eval \
- 'case fxml_gen:compile("tools/xmpp_codec.spec", [{add_type_specs, xmpp_element}, {erl_dir, "src"}, {hrl_dir, "include"}]) of ok -> halt(0); _ -> halt(1) end.'
+ 'case fxml_gen:compile("specs/xmpp_codec.spec", [{add_type_specs, xmpp_element}, {erl_dir, "src"}, {hrl_dir, "include"}]) of ok -> halt(0); _ -> halt(1) end.'
+
+xdata:
+ $(ERL) -noinput +B -pa ebin -pa deps/*/ebin -eval \
+ 'case xdata_codec:compile("specs", [{erl_dir, "src"}, {hrl_dir, "include"}]) of ok -> halt(0); _ -> halt(1) end.'
JOIN_PATHS=$(if $(wordlist 2,1000,$(1)),$(firstword $(1))/$(call JOIN_PATHS,$(wordlist 2,1000,$(1))),$(1))