2016-02-21 23:00:09 +01:00
|
|
|
From 21d1f05a8882657c151397d0e4723535402f1757 Mon Sep 17 00:00:00 2001
|
2016-02-21 23:00:08 +01:00
|
|
|
From: Philipp Huebner <debalance@debian.org>
|
2016-02-21 23:00:09 +01:00
|
|
|
Date: Wed, 20 Jan 2016 10:22:57 -0500
|
2016-02-21 23:00:08 +01:00
|
|
|
Subject: [PATCH] remove make targets for deps
|
|
|
|
|
|
|
|
Without this patch, dependencies would be downloaded and compiled
|
|
|
|
using rebar at build time.
|
2016-02-21 23:00:09 +01:00
|
|
|
|
|
|
|
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
|
2016-02-21 23:00:08 +01:00
|
|
|
|
2016-02-21 23:00:09 +01:00
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
2018-01-19 17:29:31 +01:00
|
|
|
index df2abfdc..8c8fd714 100644
|
2016-02-21 23:00:09 +01:00
|
|
|
--- a/Makefile.in
|
|
|
|
+++ b/Makefile.in
|
2018-01-19 17:29:31 +01:00
|
|
|
@@ -86,27 +86,11 @@ else
|
2016-02-21 23:00:09 +01:00
|
|
|
INIT_USER=$(INSTALLUSER)
|
|
|
|
endif
|
2017-06-06 16:33:11 +02:00
|
|
|
|
2016-02-21 23:00:09 +01:00
|
|
|
-all: deps src
|
|
|
|
+all: src
|
2017-06-06 16:33:11 +02:00
|
|
|
|
2016-02-21 23:00:09 +01:00
|
|
|
-deps: deps/.got
|
|
|
|
-
|
|
|
|
-deps/.got:
|
|
|
|
- rm -rf deps/.got
|
|
|
|
- rm -rf deps/.built
|
2018-01-19 17:29:31 +01:00
|
|
|
- mkdir -p deps
|
2016-02-21 23:00:09 +01:00
|
|
|
- $(REBAR) get-deps && :> deps/.got
|
|
|
|
-
|
|
|
|
-deps/.built: deps/.got
|
|
|
|
- $(REBAR) compile && :> deps/.built
|
|
|
|
-
|
|
|
|
-src: deps/.built
|
|
|
|
+src:
|
|
|
|
$(REBAR) skip_deps=true compile
|
2017-06-06 16:33:11 +02:00
|
|
|
|
2016-02-21 23:00:09 +01:00
|
|
|
-update:
|
|
|
|
- rm -rf deps/.got
|
|
|
|
- rm -rf deps/.built
|
|
|
|
- $(REBAR) update-deps && :> deps/.got
|
|
|
|
-
|
|
|
|
xref: all
|
|
|
|
$(REBAR) skip_deps=true xref
|