summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@tutanota.com>2024-06-19 16:44:11 -0400
committerLouie Shprung <lshprung@tutanota.com>2024-06-19 16:44:11 -0400
commitd2a39305d8d190f0fa6d0485315a3586c93f8322 (patch)
treed3976e47c5050dc96277e45fff7a02161294a150 /Makefile
parent4f846b03f81738b8fc9ca11ac9c60fa65871a376 (diff)
Add support for VERSION flag
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 874af3d..60007f5 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,9 @@ err:
BUILD_DIR = build
SRC_MAKE_CALL = $(MAKE) -f src/Makefile BUILD_DIR=$(BUILD_DIR) NO_CSS=$(NO_CSS) LOCALE=$(LOCALE)
+ifdef VERSION
+ SRC_MAKE_CALL += VERSION=$(VERSION)
+endif
# For this target, only archive docsets that have already been built in BUILD_DIR
.phony: archive