* doc/yacc.1.in: New.

* configure.ac, doc/Makefile.am: Adjust.
* configure.ac (PACKAGE_COPYRIGHT_YEAR): New substitution, and new
config.h symbol.
Use AC_SUBST for assignments too.
* src/getargs.c (version): Use PACKAGE_COPYRIGHT_YEAR.
This commit is contained in:
Akim Demaille
2007-11-14 13:18:44 +00:00
parent cff03fb2b9
commit a005a9c4dc
5 changed files with 62 additions and 7 deletions

View File

@@ -334,7 +334,8 @@ version (void)
putc ('\n', stdout);
fprintf (stdout,
_("Copyright (C) %d Free Software Foundation, Inc.\n"), 2007);
_("Copyright (C) %d Free Software Foundation, Inc.\n"),
PACKAGE_COPYRIGHT_YEAR);
fputs (_("\
This is free software; see the source for copying conditions. There is NO\n\