sendmail: update by Vladimir

build system: tweak for rare case where include/autoconf.h
  does not get updated

function                                             old     new   delta
packed_usage                                       26238   26242      +4
sendmail_main                                       1353     897    -456
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-456)           Total: -452 bytes
This commit is contained in:
Denis Vlasenko
2009-03-31 23:41:53 +00:00
parent d308106245
commit 88b8f0a347
4 changed files with 127 additions and 271 deletions

View File

@@ -44,7 +44,13 @@ int file_write_dep(const char *name)
else
fprintf(out, "\t%s\n", file->name);
}
fprintf(out, "\n.config include/autoconf.h: $(deps_config)\n\n$(deps_config):\n");
fprintf(out,
"\n"
".config include/autoconf.h: $(deps_config)\n"
"\n"
"include/autoconf.h: .config\n" /* bbox */
"\n"
"$(deps_config):\n");
fclose(out);
rename("..config.tmp", name);
return 0;