[openssh-commits] [openssh] 02/03: Sort .depend when rebuilding.
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Dec 11 13:13:28 AEDT 2019
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 5e3abff39e01817f6866494416f2ada25c316018
Author: Darren Tucker <dtucker at dtucker.net>
Date: Wed Dec 11 13:09:34 2019 +1100
Sort .depend when rebuilding.
This makes diffs more stable between makedepend implementations.
---
Makefile.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile.in b/Makefile.in
index 1c5adfe9..eeadf07b 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
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list