]> granicus.if.org Git - python/commitdiff
Add reindent target.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 17 Apr 2006 19:25:49 +0000 (19:25 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 17 Apr 2006 19:25:49 +0000 (19:25 +0000)
Makefile.pre.in
Misc/NEWS

index 91d4849c07df286c41dcdd835f3ff3990f652699..b1cf8c237573fb557a0b8398c4faee796bd8f79a 100644 (file)
@@ -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:
index d4bfcd45353f4979ba676b2315fe3cd7e33c8203..94398138c70ce1375427877695d5c656646ffd32 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -95,6 +95,9 @@ Library
 Build
 -----
 
+- The Makefile now has a reindent target, which runs reindent.py on
+  the library.
+
 - Patch #1470875: Building Python with MS Free Compiler
 
 - Patch #1161914: Add a python-config script.