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 /Makefile | |
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 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -30,7 +30,12 @@ ERLANG_MK_VERSION = $(shell git describe --dirty --tags --always) .PHONY: all check all: - export LC_COLLATE=C; \ +# Temporarily force the printing of the CHANGELOG. +# The required variable hadn't been introduced yet. +#ifdef UPGRADE + @cat CHANGELOG.asciidoc +#endif + @export LC_COLLATE=C; \ awk 'FNR==1 && NR!=1{print ""}1' $(patsubst %,%.mk,$(BUILD_CONFIG)) \ | sed 's/^ERLANG_MK_VERSION =.*/ERLANG_MK_VERSION = $(ERLANG_MK_VERSION)/' \ | sed 's:^ERLANG_MK_WITHOUT =.*:ERLANG_MK_WITHOUT = $(WITHOUT):' > $(ERLANG_MK) |