diff options
author | Loïc Hoguin <[email protected]> | 2018-12-03 20:50:42 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-12-03 20:52:10 +0100 |
commit | 2163fef859c46ebe5f3d7827ce8ddfd45ee56691 (patch) | |
tree | 92da2d13ec3a647c14dacd878bf52c31e5d69d35 /core/core.mk | |
parent | 983f82bdfcb3e78f04468fcfd02d6a6ee5869b13 (diff) | |
download | erlang.mk-2163fef859c46ebe5f3d7827ce8ddfd45ee56691.tar.gz erlang.mk-2163fef859c46ebe5f3d7827ce8ddfd45ee56691.tar.bz2 erlang.mk-2163fef859c46ebe5f3d7827ce8ddfd45ee56691.zip |
Print a changelog when updating Erlang.mk
Diffstat (limited to 'core/core.mk')
-rw-r--r-- | core/core.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/core.mk b/core/core.mk index bc4d306..27e8a87 100644 --- a/core/core.mk +++ b/core/core.mk @@ -196,15 +196,15 @@ ERLANG_MK_BUILD_DIR ?= .erlang.mk.build erlang-mk: WITHOUT ?= $(ERLANG_MK_WITHOUT) erlang-mk: ifdef ERLANG_MK_COMMIT - git clone $(ERLANG_MK_REPO) $(ERLANG_MK_BUILD_DIR) - cd $(ERLANG_MK_BUILD_DIR) && git checkout $(ERLANG_MK_COMMIT) + $(verbose) git clone $(ERLANG_MK_REPO) $(ERLANG_MK_BUILD_DIR) + $(verbose) cd $(ERLANG_MK_BUILD_DIR) && git checkout $(ERLANG_MK_COMMIT) else - git clone --depth 1 $(ERLANG_MK_REPO) $(ERLANG_MK_BUILD_DIR) + $(verbose) git clone --depth 1 $(ERLANG_MK_REPO) $(ERLANG_MK_BUILD_DIR) endif - if [ -f $(ERLANG_MK_BUILD_CONFIG) ]; then cp $(ERLANG_MK_BUILD_CONFIG) $(ERLANG_MK_BUILD_DIR)/build.config; fi - $(MAKE) -C $(ERLANG_MK_BUILD_DIR) WITHOUT='$(strip $(WITHOUT))' - cp $(ERLANG_MK_BUILD_DIR)/erlang.mk ./erlang.mk - rm -rf $(ERLANG_MK_BUILD_DIR) + $(verbose) if [ -f $(ERLANG_MK_BUILD_CONFIG) ]; then cp $(ERLANG_MK_BUILD_CONFIG) $(ERLANG_MK_BUILD_DIR)/build.config; fi + $(gen_verbose) $(MAKE) --no-print-directory -C $(ERLANG_MK_BUILD_DIR) WITHOUT='$(strip $(WITHOUT))' UPGRADE=1 + $(verbose) cp $(ERLANG_MK_BUILD_DIR)/erlang.mk ./erlang.mk + $(verbose) rm -rf $(ERLANG_MK_BUILD_DIR) # The erlang.mk package index is bundled in the default erlang.mk build. # Search for the string "copyright" to skip to the rest of the code. |