summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-12-11 13:09:34 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-12-11 13:12:59 +1100
commit5e3abff39e01817f6866494416f2ada25c316018 (patch)
treec0d1c3ad8162ce803c18d1f53c8836360d6c150f /Makefile.in
parent5df9d1f5c0943367d9b68435f4c82224ce11a73f (diff)
Sort .depend when rebuilding.
This makes diffs more stable between makedepend implementations.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 1c5adfe99..eeadf07b1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -331,6 +331,8 @@ depend-rebuild:
331 rm -f config.h 331 rm -f config.h
332 touch config.h 332 touch config.h
333 makedepend -w1000 -Y. -f .depend *.c 2>/dev/null 333 makedepend -w1000 -Y. -f .depend *.c 2>/dev/null
334 (head -2 .depend; tail +3 .depend | sort) >.depend.tmp
335 mv .depend.tmp .depend
334 rm -f config.h 336 rm -f config.h
335 337
336depend-check: depend-rebuild 338depend-check: depend-rebuild