From 063f2146c7a68cf4ba74d2fd91dbc6c92e9210ed Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Thu, 16 Nov 2000 22:08:37 +0000 Subject: [PATCH] - added man page for ginac-config - all man pages now display the current GiNaC version number --- Makefile.am | 7 ++++-- NEWS | 1 + configure.in | 3 +++ ginac-config.1.in | 62 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 ginac-config.1.in diff --git a/Makefile.am b/Makefile.am index fec6552e..e451f9d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,13 +8,16 @@ AUTOMAKE_OPTIONS = 1.4 # GiNaC runtime configuration script bin_SCRIPTS = ginac-config -# All the rest of the distributed files -EXTRA_DIST = ginac.m4 GiNaC.spec +# Man pages +man_MANS = ginac-config.1 # M4 macro file for inclusion with autoconf m4datadir = $(datadir)/aclocal m4data_DATA = ginac.m4 +# All the rest of the distributed files +EXTRA_DIST = ginac.m4 GiNaC.spec + # Rule to build tar-bzipped distribution package $(PACKAGE)-$(VERSION).tar.gz: dist diff --git a/NEWS b/NEWS index 228d5a44..968ab12f 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ This file records noteworthy changes. coeff(). Using these functions on an expression containing such powers used to fail with an internal error message. The side-effect is that collect() can be used on expressions which are not polynomials. +* Added a man page for the ginac-config script. 0.6.4 (10 August 2000) * Complete revamp of methods in class matrix. Some redundant (and poor) diff --git a/configure.in b/configure.in index 8d0ecaf3..a1e5dd7b 100644 --- a/configure.in +++ b/configure.in @@ -183,11 +183,14 @@ AC_OUTPUT([ Makefile GiNaC.spec ginac-config +ginac-config.1 ginac/Makefile ginac/version.h check/Makefile ginsh/Makefile +ginsh/ginsh.1 tools/Makefile +tools/viewgar.1 doc/Makefile doc/tutorial/Makefile doc/reference/Makefile diff --git a/ginac-config.1.in b/ginac-config.1.in new file mode 100644 index 00000000..095059f0 --- /dev/null +++ b/ginac-config.1.in @@ -0,0 +1,62 @@ +.TH ginac-config 1 "November, 2000" "GiNaC @VERSION@" "The GiNaC Group" +.SH NAME +ginac-config \- script to get information about the installed version of GiNaC +.SH SYNOPSIS +[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-cppflags] +.SH DESCRIPTION +.PP +.B ginac-config +is a tool that is used to determine the compiler and linker flags that +should be used to compile and link programs that use GiNaC. It is also used +internally to the .m4 macros for GNU autoconf that are included with GiNaC. +.SH OPTIONS +.TP +.B \-\-version +Print the currently installed version of GiNaC on the standard output. +.TP +.B \-\-libs +Print the linker flags that are necessary to link a GiNaC program. +.TP +.B \-\-cppflags +Print the compiler flags that are necessary to compile a GiNaC program. +.TP +.B \-\-prefix=PREFIX +If specified, use PREFIX instead of the installation prefix that GiNaC was +built with when computing the output for the \-\-cppflags and \-\-libs +options. This option is also used for the exec prefix if \-\-exec\-prefix was +not specified. This option must be specified before any \-\-libs or +\-\-cppflags options. +.TP +.B \-\-exec\-prefix=PREFIX +If specified, use PREFIX instead of the installation exec prefix that GiNaC +was built with when computing the output for the \-\-cppflags and \-\-libs +options. This option must be specified before any \-\-libs or \-\-cppflags +options. +.SH AUTHOR +.TP +The GiNaC Group: +.br +Christian Bauer +.br +Alexander Frink +.br +Richard Kreckel +.SH SEE ALSO +GiNaC Tutorial \- An open framework for symbolic computation within the +C++ programming language +.SH COPYRIGHT +Copyright \(co 1999-2000 Johannes Gutenberg Universit\(:at Mainz, Germany + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -- 2.44.0