aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a4baaa090..d8e15b591 100644
--- a/Makefile
+++ b/Makefile
@@ -67,11 +67,13 @@ i18n: yarn-install
# generate .ts file containing all translations
$(gulp) po2js
+# Some commands are only available when ./configure has been run
ifndef prefix
-.PHONY: install
-install:
+.PHONY: warn-noprefix install
+warn-noprefix:
@echo "no prefix configured, did you run ./configure?"
+install: warn-noprefix
else
.PHONY: install
install: tsc