[Python-checkins] r45496 - in python/trunk: Makefile.pre.in Misc/NEWS

martin.v.loewis python-checkins at python.org
Mon Apr 17 21:25:50 CEST 2006


Author: martin.v.loewis
Date: Mon Apr 17 21:25:49 2006
New Revision: 45496

Modified:
   python/trunk/Makefile.pre.in
   python/trunk/Misc/NEWS
Log:
Add reindent target.


Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in	(original)
+++ python/trunk/Makefile.pre.in	Mon Apr 17 21:25:49 2006
@@ -956,6 +956,10 @@
 .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:

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Mon Apr 17 21:25:49 2006
@@ -95,6 +95,9 @@
 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.


More information about the Python-checkins mailing list