diff top/maint.mk @ 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 a7cc50668746
children 38bc4e23ff1e
line wrap: on
line diff
--- a/top/maint.mk	Wed Apr 28 19:17:54 2010 +0200
+++ b/top/maint.mk	Thu Apr 29 08:46:14 2010 +0200
@@ -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.