aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index ec6cfc5..c4ccb55 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,6 +9,10 @@ PWD := $(shell pwd)
all: module tools
debug: module-debug tools-debug
+ifneq ($(V),1)
+MAKEFLAGS += --no-print-directory
+endif
+
version.h:
@export GIT_CEILING_DIRECTORIES="$$(readlink -f ../..)" && \
ver="#define WIREGUARD_VERSION \"$$(git describe --dirty 2>/dev/null)\"" && \