Declare Makefile targets as PHONY

By default, targets in Makefiles maps to files. This isn't the case
here as the targets are used as simple 'shortcuts'. That kind of target
should be declared as "phony", as described in the manual:

https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
This commit is contained in:
Marcus Jaschen 2016-12-12 14:52:57 +01:00
parent 0e2bf8417f
commit 5f4fa6a3c6

View File

@ -1,3 +1,9 @@
.PHONY: docker-image
.PHONY: docker-push
.PHONY: docker-destroy
.PHONY: docker-run
.PHONY: archive
JS_FILE = assets/js/all.js JS_FILE = assets/js/all.js
CONTAINER = miniflux CONTAINER = miniflux
IMAGE = miniflux/miniflux IMAGE = miniflux/miniflux