revert removal of .depend before makedepend

Commit 83657eac4 started removing .depend before running makedepend
to reset the contents of .depend to a known state. Unfortunately
this broke the depend-check step as now .depend.bak would only ever
be created as an empty file.

ok dtucker
This commit is contained in:
Damien Miller 2020-05-13 12:01:10 +10:00
parent 58ad004acd
commit 7c0bbed967
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ depend: depend-rebuild
rm -f .depend.bak
depend-rebuild:
rm -f config.h .depend
rm -f config.h
touch config.h .depend
makedepend -w1000 -Y. -f .depend *.c 2>/dev/null
(echo '# Automatically generated by makedepend.'; \