changeset 13286:bacd8565eeaa

top/maint.mk (indent): Run twice to produce idempotent results.
author Simon Josefsson <simon@josefsson.org>
date Thu, 29 Apr 2010 08:46:14 +0200
parents 7c6a23ddbbd3
children 8d4443b82bfc
files ChangeLog top/maint.mk
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-29  Simon Josefsson  <simon@josefsson.org>
+
+	* top/maint.mk (indent): Run twice to produce idempotent results.
+
 2010-04-28  Bruno Haible  <bruno@clisp.org>
 
 	getdate: Generate getdate.c in the source directory.
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1127,10 +1127,12 @@
 	echo 'en@quot' >> $(PODIR)/LINGUAS && \
 	ls $(PODIR)/*.po | sed 's/\.po//' | sed 's,$(PODIR)/,,' | sort >> $(PODIR)/LINGUAS
 
+ # Running indent once is not idempotent, but running it twice is.
 INDENT_SOURCES ?= $(C_SOURCES)
 .PHONY: indent
 indent:
 	indent $(INDENT_SOURCES)
+	indent $(INDENT_SOURCES)
 
 # If you want to set UPDATE_COPYRIGHT_* environment variables,
 # put the assignments in this variable.