summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-17 19:25:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-04-17 19:25:49 (GMT)
commit4be4e657e05036d6e617b4ad636b4b2543aac355 (patch)
treec7bc094c1756bc3573ac6ef3d8000de56fa2a734 /Makefile.pre.in
parent1a00e1856e15447dad6d40a5b0b1b4aca6b12073 (diff)
downloadcpython-4be4e657e05036d6e617b4ad636b4b2543aac355.zip
cpython-4be4e657e05036d6e617b4ad636b4b2543aac355.tar.gz
cpython-4be4e657e05036d6e617b4ad636b4b2543aac355.tar.bz2
Add reindent target.
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 91d4849..b1cf8c2 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -956,6 +956,10 @@ config.status: $(srcdir)/configure
.c.o:
$(CC) -c $(PY_CFLAGS) -o $@ $<
+# Run reindent on the library
+reindent:
+ ./python$(EXEEXT) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
+
# Rerun configure with the same options as it was run last time,
# provided the config.status script exists
recheck: