From 5e3abff39e01817f6866494416f2ada25c316018 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 11 Dec 2019 13:09:34 +1100 Subject: Sort .depend when rebuilding. This makes diffs more stable between makedepend implementations. --- Makefile.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 1c5adfe99..eeadf07b1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -331,6 +331,8 @@ depend-rebuild: rm -f config.h touch config.h makedepend -w1000 -Y. -f .depend *.c 2>/dev/null + (head -2 .depend; tail +3 .depend | sort) >.depend.tmp + mv .depend.tmp .depend rm -f config.h depend-check: depend-rebuild -- cgit v1.2.3