From: Martin v. Löwis Date: Mon, 17 Apr 2006 19:25:49 +0000 (+0000) Subject: Add reindent target. X-Git-Tag: v2.5a2~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4be4e657e05036d6e617b4ad636b4b2543aac355;p=python Add reindent target. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 91d4849c07..b1cf8c2375 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: diff --git a/Misc/NEWS b/Misc/NEWS index d4bfcd4535..94398138c7 100644 --- 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.