summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-03-18 17:25:13 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-03-18 17:25:13 (GMT)
commita8b09fd4c33572a204a80c81e5755cc6d164805d (patch)
tree2175d5bca3bdc993c63a958831131bef4160f8de /Makefile.pre.in
parent493894c3e0abb9ec32f51f9c0630ddeee8a06719 (diff)
downloadcpython-a8b09fd4c33572a204a80c81e5755cc6d164805d.zip
cpython-a8b09fd4c33572a204a80c81e5755cc6d164805d.tar.gz
cpython-a8b09fd4c33572a204a80c81e5755cc6d164805d.tar.bz2
Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script does
some verification: - Runs reindent.py on all .py files. - Checks if any changes in Doc exist. - Whether Misc/ACKS was changed. - Whether Misc/NEWS was changed. The hope is that ``make check`` can become a command anybody can run to get reminders about what all the requisite steps needed to create a proper patch/checkin.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 61e7282..4edc784 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1140,6 +1140,10 @@ funny:
-o -name MANIFEST \
-o -print
+# Perform some verification checks on any modified files.
+check:
+ ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/patchcheck.py
+
# Dependencies
Python/thread.o: @THREADHEADERS@