mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
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:
4
Makefile
4
Makefile
@ -45,4 +45,6 @@ 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
|
Reference in New Issue
Block a user