diff --git a/ChangeLog b/ChangeLog index 8f349790c..5572ebd62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ * TODO: Added microtek2 problem. Updated sane.tex and desc sections. Added scanimage width/height problem. Added possible solution to po file mess. + * doc/Makefile.in doc/sane-config.man: Added man page for sane-config. 2002-10-15 Peter Kirchgessner diff --git a/doc/Makefile.in b/doc/Makefile.in index 7d5a77860..c8339efdc 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -36,7 +36,7 @@ DISTCLEAN_FILES = @DISTCLEAN_FILES@ @SET_MAKE@ -SECT1 = saned.1 scanimage.1 sane-find-scanner.1 gamma4scanimage.1 +SECT1 = saned.1 scanimage.1 sane-config.1 sane-find-scanner.1 gamma4scanimage.1 SECT5 = sane-abaton.5 sane-agfafocus.5 sane-apple.5 sane-as6e.5 sane-dll.5 \ sane-dc25.5 sane-dmc.5 sane-epson.5 sane-hp.5 sane-gphoto2.5 \ sane-leo.5 sane-matsushita.5 sane-microtek.5 \ @@ -73,8 +73,8 @@ DISTFILES = Makefile.in backend-writing.txt descriptions.txt \ doxygen-sanei.conf html.sty net.tex \ releases.txt sane-abaton.man sane-agfafocus.man sane-apple.man \ sane-artec.man sane-as6e.man sane-avision.man sane-bh.man \ - sane-canon.man sane-canon630u.man sane-coolscan.man sane-coolscan2.man \ - sane-dc210.man sane-dc240.man \ + sane-canon.man sane-canon630u.man sane-config.man sane-coolscan.man \ + sane-coolscan2.man sane-dc210.man sane-dc240.man \ sane-dc25.man sane-dll.man sane-dmc.man sane-epson.man \ sane-find-scanner.man sane-fujitsu.man sane-gphoto2.man sane-hp.man \ sane-logo.png sane-logo2.jpg sane-matsushita.man sane-microtek.man \ diff --git a/doc/sane-config.man b/doc/sane-config.man new file mode 100644 index 000000000..7a2fe14ca --- /dev/null +++ b/doc/sane-config.man @@ -0,0 +1,43 @@ +.TH sane-config 1 "15 October 2002" +.SH NAME +sane-config - get information about the installed version of libsane +.SH SYNOPSIS +.B sane-config [\-\-prefix] [\-\-exec\-prefix] [\-\-libs] [\-\-cflags] [\-\-ldflags] [\-\-version] [\-\-help \fI[OPTION]\fP] +.SH DESCRIPTION +.PP +\fIsane-config\fP is a tool that is used to determine the compiler and linker +flags that should be used to compile and link \fISANE\fP frontends to a +\fISANE\fP backend library (libsane). +. +.SH OPTIONS +.l +\fIsane-config\fP accepts the following options: +.TP 8 +.B \-\-version +Print the currently installed version of libsane on the standard output. +.TP 8 +.B \-\-help OPTION +Print a short usage message. If OPTION is specified, help for that option +(e.g. --libs) is printed (if available). +.TP 8 +.B \-\-libs +Print the additional libraries that are necessary to link a \fISANE\fP +frontend to libsane. +.TP 8 +.B \-\-ldflags +Print the linker flags that are necessary to link a \fISANE\fP frontend to +libsane. +.TP 8 +.B \-\-cflags +Print the compiler flags that are necessary to compile a \fISANE\fP frontend. +.TP 8 +.B \-\-prefix +Print the prefix used during compilation of libsane. +.TP 8 +.B \-\-exec\-prefix +Print the exec-prefix used during compilation of libsane. +.SH "SEE ALSO" +sane(7) +.SH AUTHOR +This manual page was written by Julien BLACHE , for the +Debian GNU/Linux system (but may be used by others).