]> www.ginac.de Git - ginac.git/commitdiff
- added man page for ginac-config
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 16 Nov 2000 22:08:37 +0000 (22:08 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 16 Nov 2000 22:08:37 +0000 (22:08 +0000)
- all man pages now display the current GiNaC version number

Makefile.am
NEWS
configure.in
ginac-config.1.in [new file with mode: 0644]

index fec6552ee80e15c3628f88ae8dbfe6a80f5ec99a..e451f9d544bbfd8cb5159112dce0f6650d55b213 100644 (file)
@@ -8,13 +8,16 @@ AUTOMAKE_OPTIONS = 1.4
 # GiNaC runtime configuration script
 bin_SCRIPTS = ginac-config
 
 # 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
 
 
 # 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
 
 # Rule to build tar-bzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
 
diff --git a/NEWS b/NEWS
index 228d5a440325c6544f0f5d06294db779e3e28135..968ab12f783e84633bbec18af18a248ac6c09c93 100644 (file)
--- 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.
   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)
 
 0.6.4 (10 August 2000)
 * Complete revamp of methods in class matrix.  Some redundant (and poor)
index 8d0ecaf3a971fc83ea92bf577293c3b240c9ae8c..a1e5dd7b96570612832af5740dfbb758086328d8 100644 (file)
@@ -183,11 +183,14 @@ AC_OUTPUT([
 Makefile
 GiNaC.spec
 ginac-config
 Makefile
 GiNaC.spec
 ginac-config
+ginac-config.1
 ginac/Makefile
 ginac/version.h
 check/Makefile
 ginsh/Makefile
 ginac/Makefile
 ginac/version.h
 check/Makefile
 ginsh/Makefile
+ginsh/ginsh.1
 tools/Makefile
 tools/Makefile
+tools/viewgar.1
 doc/Makefile
 doc/tutorial/Makefile
 doc/reference/Makefile
 doc/Makefile
 doc/tutorial/Makefile
 doc/reference/Makefile
diff --git a/ginac-config.1.in b/ginac-config.1.in
new file mode 100644 (file)
index 0000000..095059f
--- /dev/null
@@ -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 <Christian.Bauer@uni-mainz.de>
+.br
+Alexander Frink <Alexander.Frink@uni-mainz.de>
+.br
+Richard Kreckel <Richard.Kreckel@uni-mainz.de>
+.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.