summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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