From 082e3c38f18c04d690533444ac980b45fcd46f0a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Dec 2015 03:53:44 +0100 Subject: add info manual MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/librarian.texinfo | 218 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 218 insertions(+) create mode 100644 doc/info/librarian.texinfo (limited to 'doc/info/librarian.texinfo') diff --git a/doc/info/librarian.texinfo b/doc/info/librarian.texinfo new file mode 100644 index 0000000..906d002 --- /dev/null +++ b/doc/info/librarian.texinfo @@ -0,0 +1,218 @@ +\input texinfo @c -*-texinfo-*- + +@c %**start of header +@setfilename librarian.info +@settitle librarian +@afourpaper +@documentencoding UTF-8 +@documentlanguage en +@finalout +@c %**end of header + + +@dircategory Development +@direntry +* librarian: (librarian). Library to compiler flags resolver +@end direntry + + +@copying +Copyright @copyright{} 2015 Mattias Andrée + +@quotation +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with no +Invariant Sections, with no Front-Cover Texts, and with no Back-Cover +Texts. A copy of the license is included in the section entitled +``GNU Free Documentation License''. +@end quotation +@end copying + +@ifnottex +@node Top +@top librarian -- Library to compiler flags resolver +@insertcopying +@end ifnottex + +@titlepage +@title librarian +@subtitle Library to compiler flags resolver +@author by Mattias Andrée (maandree) + +@page +@vskip 0pt plus 1filll +@insertcopying +@page +@end titlepage + +@contents + + + +@menu +* Overview:: Brief overview of @command{librarian}. +* Invoking:: Invocation of @command{librarian}. +* Files:: @command{librarian} files. +* GNU Free Documentation License:: Copying and sharing this manual. +@end menu + + + +@node Overview +@chapter Overview + +@command{librarian} is used to print flags required +when compiling or linking, and want to use library +that requires non-trival flags@footnote{Just @option{-l} +and the library name sans `lib'}. + + + +@node Invoking +@chapter Invoking + +Synopsis: +@example +librarian [OPTION]... [--] [VARIABLE]... [LIBRARY]... +@end example + +@command{librarian} shall output the flags, required +by the selected libraries, that are listed under the +selected variables. + +@code{LIBRARY} can either be the name of the required +library, the name of the required library and a version +of said library, or the name of the required library +and an accepted version range of said library. If the +same library name is used more than once, the versions +and version ranges are unioned. Recognised formats are: +@table @code +@item NAME +Any version of the library @code{NAME} will do. +@item NAME=VERSION +Only version @code{VERSION} of the library @code{NAME} +is acceptable. (Multiple version can be used by +specifying more than once.) +@item NAME<=MAX +Any versions up to and including @code{MAX} of the +library @code{NAME} will do. +@item NAME=MIN +At least version @code{MIN} of the library @code{NAME} +is required. +@item NAME>MIN +A greater version than version @code{MIN} of the +library @code{NAME} is required. +@item NAME>=MIN<=MAX +Combines, by intersection, @code{NAME>=MIN} and +@code{NAME<=MAX}. +@item NAME>=MIN=MIN} and +@code{NAMEMIN<=MAX +Combines, by intersection, @code{NAME>MIN} and +@code{NAME<=MAX}. +@item NAME>MINMIN} and +@code{NAME