From: Steven Jenkins Date: Mon, 18 May 2009 19:28:05 +0000 (+0000) Subject: man-page-compile-et-20090518 X-Git-Tag: openafs-devel-1_5_61~318 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=16ec87e0b382bc8bca14ec6a70987f54899eea7f man-page-compile-et-20090518 LICENSE IPL10 FIXES 124788 Add man page for compile_et. --- diff --git a/doc/man-pages/README b/doc/man-pages/README index f524da6..8193ecd 100644 --- a/doc/man-pages/README +++ b/doc/man-pages/README @@ -231,7 +231,6 @@ Known Problems * The following installed commands have no man pages: - compile_et.afs copyauth fs monitor klog.krb diff --git a/doc/man-pages/pod1/compile_et.pod b/doc/man-pages/pod1/compile_et.pod new file mode 100644 index 0000000..cfdb146 --- /dev/null +++ b/doc/man-pages/pod1/compile_et.pod @@ -0,0 +1,83 @@ +=head1 NAME + +compile_et - Produce error text tables for compilation + +=head1 SYNOPSIS + +=for html +
+ +B [B<-debug>] S<<< [B<-language> >] >>> + S<<< [B<-prefix> >] >>> [B<-v> >] > + +=for html +
+ +=head1 DESCRIPTION + +The B command builds the error text tables for compilation. +This includes both a header file that contains a set of mappings between +error names and values and a F<.c> (or F<.msf>) file that provides a text +table of descriptions. + +The > argument specifies which error table to generate. +The error table specification should exist in the current working +directory or in the directory specified with B<-prefix> and should be +named F. + +=head1 CAUTIONS + +This command is used internally within the build process for OpenAFS. +Most users will access this information via L rather than +via B. + +This command does not use the standard AFS command-line parsing package. + +=head1 OPTIONS + +=over 4 + +=item B<-debug> + +Does nothing. It neither adds debugging information to the output nor +provides additional information on its operation. + +=item B<-language> > + +Specifies the type of output to generate. Currently, only ANSI C and K&R +are supported values (via the B and B values, respectively). +The default is ANSI C. There is some support for C++ started, but that is +not yet supported. + +=item B<-prefix > + +Specifies the directory to search for the F file. + +=item B<-v> > + +Specified the type of output file: valid values are 1 (the default, for C +files) or 2, for B<.msf> file generation. + +=back + +=head1 EXAMPLES + +The following command generates the files F and F, +suitable for use with C programs: + + % compile_et -p path/to/src/ptserver pterror + +The following command generates K&R style files instead: + + % compile_et -p path/to/src/ptserver -lang 'k&r-c' pterror + +=head1 SEE ALSO + +L + +=head1 COPYRIGHT + +Copyright 2009 Steven Jenkins + +This documentation is covered by the IBM Public License Version 1.0. This +man page was written by Steven Jenkins for OpenAFS.