changeset 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 01deefb7ec7a
children 5845fb6bb4ec
files client/Makefile
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
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