From 6b224a9e172686298bc18b61dac131c4b1b50f6f Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Wed, 31 Aug 2016 07:26:42 -0300 Subject: [PATCH] Makefile: add target that shows general configuration As the Makefile gets more complex and has more variables, I found it useful to display how it's being driven. Signed-off-by: Cleber Rosa --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e129a26f..4200629c 100644 --- a/Makefile +++ b/Makefile @@ -184,7 +184,19 @@ spell: man: man/avocado.1 man/avocado-rest-client.1 -.PHONY: source install clean check link +variables: + @echo "PYTHON: $(PYTHON)" + @echo "PYTHON26: $(PYTHON26)" + @echo "VERSION: $(VERSION)" + @echo "DESTDIR: $(DESTDIR)" + @echo "AVOCADO_DIRNAME: $(AVOCADO_DIRNAME)" + @echo "AVOCADO_PLUGINS: $(AVOCADO_PLUGINS)" + @echo "RELEASE_COMMIT: $(RELEASE_COMMIT)" + @echo "RELEASE_SHORT_COMMIT: $(RELEASE_SHORT_COMMIT)" + @echo "COMMIT: $(COMMIT)" + @echo "SHORT_COMMIT: $(SHORT_COMMIT)" + +.PHONY: source install clean check link variables # implicit rule/recipe for man page creation %.1: %.rst -- GitLab