summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@tutanota.com>2024-06-21 15:50:23 -0400
committerLouie Shprung <lshprung@tutanota.com>2024-06-21 15:50:23 -0400
commitb7cc10d949a67cbc3685a43c502e93ffaf01c09e (patch)
tree829d799effc2c9c512ad12e6fc8f02eea95e9d46 /Makefile
parent03699605e4ba3443ff3f1e34d2be9e70e152d42a (diff)
Fix LOCALE option not working
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5b30a17..6b9f2f7 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,10 @@ err:
$(ERROR_NO_ARGUMENT)
BUILD_DIR = build
-SRC_MAKE_CALL = $(MAKE) -f src/Makefile BUILD_DIR=$(BUILD_DIR) NO_CSS=$(NO_CSS) LOCALE=$(LOCALE)
+SRC_MAKE_CALL = $(MAKE) -f src/Makefile BUILD_DIR=$(BUILD_DIR) NO_CSS=$(NO_CSS)
+ifdef LOCALE
+ SRC_MAKE_CALL += LOCALE=$(LOCALE)
+endif
ifdef VERSION
SRC_MAKE_CALL += VERSION=$(VERSION)
endif