From 82a89026b9300322443a135e962b7784fdd00d1a Mon Sep 17 00:00:00 2001 From: Aaron Peschel Date: Tue, 28 Jun 2016 15:53:53 -0700 Subject: [PATCH] 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. --- docs/writing/structure.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/writing/structure.rst b/docs/writing/structure.rst index 4f8bb3713..31f387ec9 100644 --- a/docs/writing/structure.rst +++ b/docs/writing/structure.rst @@ -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.