From 4be4e657e05036d6e617b4ad636b4b2543aac355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 17 Apr 2006 19:25:49 +0000 Subject: Add reindent target. --- Makefile.pre.in | 4 ++++ Misc/NEWS | 3 +++ 2 files changed, 7 insertions(+) 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: diff --git a/Misc/NEWS b/Misc/NEWS index d4bfcd4..9439813 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. -- cgit v0.12