Sort .depend when rebuilding.

This makes diffs more stable between makedepend implementations.
This commit is contained in:
Darren Tucker 2019-12-11 13:09:34 +11:00
parent 5df9d1f5c0
commit 5e3abff39e
1 changed files with 2 additions and 0 deletions

View File

@ -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