From: Simon Josefsson Date: Thu, 29 Apr 2010 06:46:14 +0000 (+0200) Subject: top/maint.mk (indent): Run twice to produce idempotent results. X-Git-Tag: v0.1~4201 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=b42b4137016986c073adcc8d0d5a0182aae38c7b;p=gnulib.git top/maint.mk (indent): Run twice to produce idempotent results. --- diff --git a/ChangeLog b/ChangeLog index 65d06efbf..db345d42e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-04-29 Simon Josefsson + + * top/maint.mk (indent): Run twice to produce idempotent results. + 2010-04-28 Bruno Haible getdate: Generate getdate.c in the source directory. diff --git a/top/maint.mk b/top/maint.mk index ed41389a4..6389c3810 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1127,10 +1127,12 @@ refresh-po: 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.