1 .TH GNULIB\-TOOL 1 "2006-06-01" "0.0.20060601" "GNU Portability Library"
4 gnulib\-tool \- program for authors or maintainers which want to import modules
5 from gnulib into their packages.
12 \-\-import [module1 ... moduleN]
18 \-\-create-testdir \-\-dir=directory module1 ... moduleN
21 \-\-create-megatestdir \-\-dir=directory [module1 ... moduleN]
24 \-\-test \-\-dir=directory module1 ... moduleN
27 \-\-megatest \-\-dir=directory [module1 ... moduleN]
30 \-\-extract-description module
33 \-\-extract-filelist module
36 \-\-extract-dependencies module
39 \-\-extract-autoconf-snippet module
42 \-\-extract-automake-snippet module
45 \-\-extract-include-directive module
48 \-\-extract-license module
51 \-\-extract-maintainer module
54 \-\-extract-tests-module module
57 The GNU portability library is a macro system and C declarations and definitions
58 for commonly-used API elements and abstracted system behaviors. It can be used
59 to improve portability and other functionality in your programs.
66 print the available module names.
69 import the given modules into the current package; if no modules are specified,
70 update the current package from the current gnulib.
73 update the current package, restore files omitted from CVS.
76 create a scratch package with the given modules.
78 .B \-\-create-megatestdir
79 create a mega scratch package with the given modules one by one and all
83 test the combination of the given modules (recommended to use CC="gcc \-Wall"
87 test the given modules one by one and all together (recommended to use CC="gcc
90 .B \-\-extract-description
91 extract the description.
93 .B \-\-extract-filelist
94 extract the list of files.
96 .B \-\-extract-dependencies
97 extract the dependencies.
99 .B \-\-extract-autoconf-snippet
100 extract the snippet for configure.ac.
102 .B \-\-extract-automake-snippet
103 extract the snippet for lib/Makefile.am.
105 .B \-\-extract-include-directive
106 extract the #include directive.
108 .B \-\-extract-license
109 report the license terms of the source files under lib/.
111 .B \-\-extract-maintainer
112 report the maintainer(s) inside gnulib.
114 .B \-\-extract-tests-module
115 report the unit test module, if it exists.
121 specify the target directory. For \-\-import, this specifies where your
122 configure.ac can be found. Defaults to current directory.
125 Specify the library name. Defaults to 'libgnu'.
127 .B \-\-source-base=DIRECTORY
128 Directory relative \-\-dir where source code is placed (default "lib"), for
131 .B \-\-m4-base=DIRECTORY
132 Directory relative \-\-dir where *.m4 macros are placed (default "m4"), for
135 .B \-\-tests-base=DIRECTORY
136 Directory relative \-\-dir where unit tests are placed (default "tests"), for
139 .B \-\-aux-dir=DIRECTORY
140 Directory relative \-\-dir where auxiliary build tools are placed (default
144 Include unit tests for the included modules.
147 Avoid including the given MODULE. Useful if you have code that provides
148 equivalent functionality. This option can be repeated.
151 Abort if modules aren't available under the LGPL. Also modify license template
155 Use libtool rules, for \-\-import.
157 .B \-\-macro-prefix=PREFIX
158 Specify the prefix of the macros 'gl_EARLY' and 'gl_INIT'. Default is 'gl'.
161 don't update or create ChangeLog files.
164 For \-\-import, only print what would have been done.
166 .B -s, \-\-symbolic, \-\-symlink
167 Make symbolic links instead of copying files.
171 Show summary of options.
174 Report bugs to <bug-gnulib@gnu.org>.
177 .BR check-module (1).
180 gnulib was written by the Free Software Foundation and others (sources of various origins).
182 This manual page was written by Daniel Baumann <daniel@debian.org>, for the Debian project (but may be used by others).