From b42b4137016986c073adcc8d0d5a0182aae38c7b Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 29 Apr 2010 08:46:14 +0200 Subject: [PATCH] top/maint.mk (indent): Run twice to produce idempotent results. --- ChangeLog | 4 ++++ top/maint.mk | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 65d06efbfa..db345d42ec 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 ed41389a44..6389c38100 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. -- 2.30.2