aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-08-15 15:38:29 +0200
committerLoïc Hoguin <[email protected]>2013-08-15 15:38:29 +0200
commit7984047f01ebd8be38af2780861bd169400b9432 (patch)
tree20e2fdb3661565444302bf9f18023babaa71130f /erlang.mk
parent8709a3593629c3dc732ee2a16be11a4e06943dca (diff)
downloaderlang.mk-7984047f01ebd8be38af2780861bd169400b9432.tar.gz
erlang.mk-7984047f01ebd8be38af2780861bd169400b9432.tar.bz2
erlang.mk-7984047f01ebd8be38af2780861bd169400b9432.zip
Make the fetching of the package file a little less verbose
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/erlang.mk b/erlang.mk
index 40e2695..8cc8b03 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -120,7 +120,7 @@ define get_dep
ifeq (,$(findstring pkg://,$(word 1,$(dep_$(1)))))
git clone -n -- $(word 1,$(dep_$(1))) $(DEPS_DIR)/$(1)
else
- if [ ! -f $(PKG_FILE) ]; then $(call get_pkg_file); fi
+ @if [ ! -f $(PKG_FILE) ]; then $(call get_pkg_file); fi
git clone -n -- `awk 'BEGIN { FS = "\t" }; \
$$$$1 == "$(subst pkg://,,$(word 1,$(dep_$(1))))" { print $$$$2 }' \
$(PKG_FILE)` $(DEPS_DIR)/$(1)
@@ -200,7 +200,7 @@ dialyze:
# Packages.
$(PKG_FILE):
- $(call get_pkg_file)
+ @$(call get_pkg_file)
pkg-list: $(PKG_FILE)
@cat $(PKG_FILE) | awk 'BEGIN { FS = "\t" }; { print \