mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* 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:
@@ -1,3 +1,12 @@
|
||||
2007-11-14 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* 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.
|
||||
|
||||
2007-11-10 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||
|
||||
* src/gram.c: Remove comments that duplicate comments in gram.h.
|
||||
|
||||
14
configure.ac
14
configure.ac
@@ -20,6 +20,10 @@
|
||||
AC_PREREQ(2.61)
|
||||
|
||||
AC_INIT([GNU Bison], [2.3a+], [bug-bison@gnu.org])
|
||||
AC_DEFINE([PACKAGE_COPYRIGHT_YEAR], [2007],
|
||||
[The copyright year for this package])
|
||||
AC_SUBST([PACKAGE_COPYRIGHT_YEAR], [2007])
|
||||
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
@@ -130,10 +134,8 @@ BISON_TEST_FOR_WORKING_CXX_COMPILER
|
||||
AM_MISSING_PROG([AUTOM4TE], [autom4te])
|
||||
# Needed by tests/atlocal.in.
|
||||
AC_SUBST([GCC])
|
||||
O0CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]] *//'`
|
||||
AC_SUBST([O0CFLAGS])
|
||||
O0CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[[0-9]] *//'`
|
||||
AC_SUBST([O0CXXFLAGS])
|
||||
AC_SUBST([O0CFLAGS], [`echo $CFLAGS | sed 's/-O[[0-9]] *//'`])
|
||||
AC_SUBST([O0CXXFLAGS], [`echo $CXXFLAGS | sed 's/-O[[0-9]] *//'`])
|
||||
|
||||
gt_JAVACOMP([1.3])
|
||||
gt_JAVAEXEC
|
||||
@@ -145,5 +147,7 @@ AC_CONFIG_FILES([Makefile
|
||||
etc/Makefile
|
||||
examples/Makefile
|
||||
examples/calc++/Makefile
|
||||
lib/Makefile src/Makefile doc/Makefile])
|
||||
lib/Makefile src/Makefile
|
||||
doc/Makefile
|
||||
doc/yacc.1])
|
||||
AC_OUTPUT
|
||||
|
||||
@@ -66,7 +66,6 @@ neutralize = \
|
||||
remove_time_stamp = \
|
||||
sed 's/^\(\.TH[^"]*"[^"]*"[^"]*\)"[^"]*"/\1/'
|
||||
|
||||
|
||||
MOSTLYCLEANFILES = $(srcdir)/*.t
|
||||
|
||||
SUFFIXES = .x .1
|
||||
@@ -97,6 +96,7 @@ PREPATH = $(top_builddir)/src
|
||||
fi
|
||||
rm -f $@*.t
|
||||
|
||||
nodist_man_MANS = yacc.1
|
||||
|
||||
## -------------- ##
|
||||
## Doxygenation. ##
|
||||
|
||||
41
doc/yacc.1.in
Normal file
41
doc/yacc.1.in
Normal file
@@ -0,0 +1,41 @@
|
||||
.TH YACC "1" "November 2007" "@PACKAGE_STRING@" "User Commands"
|
||||
.SH NAME
|
||||
yacc \- GNU Project parser generator
|
||||
.SH SYNOPSIS
|
||||
.B yacc
|
||||
[\fIOPTION\fR]... \fIFILE\fR
|
||||
.SH DESCRIPTION
|
||||
.I Yacc
|
||||
(Yet Another Compiler Compiler) is a parser generator. This
|
||||
version is a simple wrapper around
|
||||
.IR bison (1).
|
||||
It passes option
|
||||
\fB\-y\fR, \fB\-\-yacc\fR
|
||||
to activate the upward compatibility mode. See
|
||||
.IR bison (1)
|
||||
for more information.
|
||||
.SH AUTHOR
|
||||
Written by Paul Eggert.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <@PACKAGE_BUGREPORT@>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co @PACKAGE_COPYRIGHT_YEAR@ Free Software Foundation, Inc.
|
||||
.br
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.SH "SEE ALSO"
|
||||
.BR lex (1),
|
||||
.BR flex (1),
|
||||
.BR bison (1).
|
||||
.PP
|
||||
The full documentation for
|
||||
.B bison
|
||||
is maintained as a Texinfo manual. If the
|
||||
.B info
|
||||
and
|
||||
.B bison
|
||||
programs are properly installed at your site, the command
|
||||
.IP
|
||||
.B info bison
|
||||
.PP
|
||||
should give you access to the complete manual.
|
||||
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user