Makefile: add .PHONY targets

Given all the targets are actions instead of files to be generated,
.PHONY should be used, mainly to avoid a conflict with a file of the same name.

See https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
This commit is contained in:
Diego Herranz 2019-08-02 06:42:44 +01:00
parent b18cfc3794
commit 518fb78077

View File

@ -46,3 +46,5 @@ documentation:
backup: backup:
python3 InvenTree/manage.py dbbackup python3 InvenTree/manage.py dbbackup
python3 InvenTree/manage.py mediabackup python3 InvenTree/manage.py mediabackup
.PHONY: clean migrate requirements secret superuser install style test coverage documentation backup