Skip to content

Commit 82a8902

Browse files
committed
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.
1 parent 0760825 commit 82a8902

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/writing/structure.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ your project.
254254
test:
255255
py.test tests
256256

257+
.PHONY init test
258+
257259
Other generic management scripts (e.g. ``manage.py``
258260
or ``fabfile.py``) belong at the root of the repository as well.
259261

0 commit comments

Comments
 (0)