diff --git a/Makefile.in b/Makefile.in index 304d96cd0..cf9c9b38d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -350,10 +350,11 @@ depend: depend-rebuild rm -f .depend.bak depend-rebuild: - rm -f config.h - touch config.h + rm -f config.h .depend + touch config.h .depend makedepend -w1000 -Y. -f .depend *.c 2>/dev/null - (head -2 .depend; tail +3 .depend | sort) >.depend.tmp + (echo '# Automatically generated by makedepend.'; \ + echo '# Run "make depend" to rebuild.'; sort .depend ) >.depend.tmp mv .depend.tmp .depend rm -f config.h