make gendefs put its rcsid into its generated files

This commit is contained in:
Bill Currie 2001-09-28 07:27:13 +00:00
parent 7407e4f1b7
commit f442e0d980

View file

@ -97,6 +97,7 @@ main (int argc, char **argv)
return 1;
}
fputs ("#include \"def.h\"\n\n", out);
fprintf (out, "static const char rcsid[] =\n\t\"%s\";\n", rcsid);
while (fgets (buf, sizeof (buf), in)) {
switch (state) {
case 0: