1 From 21d1f05a8882657c151397d0e4723535402f1757 Mon Sep 17 00:00:00 2001
2 From: Philipp Huebner <debalance@debian.org>
3 Date: Wed, 20 Jan 2016 10:22:57 -0500
4 Subject: [PATCH] remove make targets for deps
6 Without this patch, dependencies would be downloaded and compiled
7 using rebar at build time.
9 Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
11 Makefile.in | 26 +++-----------------------
12 1 file changed, 3 insertions(+), 23 deletions(-)
14 diff --git a/Makefile.in b/Makefile.in
15 index 08cd837..2a6457c 100644
18 @@ -77,26 +77,11 @@ else
19 INIT_USER=$(INSTALLUSER)
30 - $(REBAR) get-deps && :> deps/.got
32 -deps/.built: deps/.got
33 - $(REBAR) compile && :> deps/.built
37 $(REBAR) skip_deps=true compile
42 - $(REBAR) update-deps && :> deps/.got
45 $(REBAR) skip_deps=true xref
47 @@ -152,16 +137,13 @@ $(foreach file,$(DEPS_FILES_FILTERED) $(MAIN_FILES),$(eval $(call COPY_template,
48 $(sort $(call TO_DEST,$(MAIN_DIRS) $(DEPS_DIRS))):
51 -$(call TO_DEST,deps/p1_pam/priv/bin/epam): $(LIBDIR)/%: deps/p1_pam/priv/bin/epam $(call TO_DEST,deps/p1_pam/priv/bin/)
52 - $(INSTALL) -m 750 $(O_USER) $< $@
54 $(call TO_DEST,priv/sql/lite.sql): sql/lite.sql $(call TO_DEST,priv/sql)
55 $(INSTALL) -m 644 $< $@
57 $(call TO_DEST,priv/bin/captcha.sh): tools/captcha.sh $(call TO_DEST,priv/bin)
58 $(INSTALL) -m 750 $(O_USER) $< $@
60 -copy-files-sub2: $(call TO_DEST,$(DEPS_FILES) $(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql)
61 +copy-files-sub2: $(call TO_DEST,$(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql)
65 @@ -287,8 +269,6 @@ TAGS:
69 -deps := $(wildcard deps/*/ebin)
73 @dialyzer --build_plt --output_plt dialyzer/erlang.plt \