Browse Source

Make the fetching of the package file a little less verbose

Loïc Hoguin 12 years ago
parent
commit
7984047f01
1 changed files with 2 additions and 2 deletions
  1. 2 2
      erlang.mk

+ 2 - 2
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 \