diff options
author | Loïc Hoguin <[email protected]> | 2013-08-15 15:38:29 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-08-15 15:38:29 +0200 |
commit | 7984047f01ebd8be38af2780861bd169400b9432 (patch) | |
tree | 20e2fdb3661565444302bf9f18023babaa71130f /erlang.mk | |
parent | 8709a3593629c3dc732ee2a16be11a4e06943dca (diff) | |
download | erlang.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.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 \ |