Don't treat targets as files

Currently, this sample Makefile has problems if there are any
files/directories named init or test in the same directory as the
makefile. This commit adds a phony to the sample Makefile so that these
targets are not treated as files.
This commit is contained in:
Aaron Peschel
2016-06-28 15:53:53 -07:00
parent 0760825429
commit 82a89026b9
+2
View File
@@ -254,6 +254,8 @@ your project.
test:
py.test tests
.PHONY init test
Other generic management scripts (e.g. ``manage.py``
or ``fabfile.py``) belong at the root of the repository as well.