diff client/Makefile @ 459:bba166f0326e

client: make Makefile more robust. * Add `all` target to prevent that clean is called accidently if `make` is executed without parameters.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 22 Aug 2018 16:03:16 +0200
parents 3d9341f6da4e
children ea3a89a1813a
line wrap: on
line diff
--- a/client/Makefile	Wed Aug 22 14:34:37 2018 +0200
+++ b/client/Makefile	Wed Aug 22 16:03:16 2018 +0200
@@ -16,7 +16,10 @@
 GETTEXT_JS_SOURCES = $(shell find $(OUTPUT_DIR) -name '*.vue' -o -name '*.js')
 
 # Makefile Targets
-.PHONY: clean makemessages translations
+.PHONY: clean makemessages translations all
+
+all:
+	@echo choose a target from: clean makemessages translations
 
 clean:
 	rm -f /tmp/template.pot $(OUTPUT_DIR)/translations.json