From dc7a4ab08b72e0d148ff46ac846f0be111f98fb8 Mon Sep 17 00:00:00 2001 From: Carlos Leonhard Woelz Date: Fri, 3 Jun 2005 21:57:45 +0000 Subject: [PATCH] Add a man page to kdesvn-build.CCMAIL: pynm0001@comcast.net svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=421767 --- kdesvn-build | 193 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 193 insertions(+) diff --git a/kdesvn-build b/kdesvn-build index f6e8089..7ade641 100755 --- a/kdesvn-build +++ b/kdesvn-build @@ -1,4 +1,197 @@ #!/usr/bin/perl -w + +#Pod documentation: + +=head1 NAME + +=over + +=item B - automate the kde svn build process + +=back + +=head1 SYNOPSIS + +=over + +=item B I<[options]...> I<[modules]...> + +=back + +=head1 DESCRIPTION + +=over + +The B script is used to automate the download, build, +and install process for KDE (using Subversion). + +It is recommended that your first setup a F<.kdesvn-buildrc> file +in your home directory. Please refer to B help file +in KDE help for information on how to write F<.kdesvn-buildrc>, +or consult the sample file which should have been included +with this program. If you don't setup a F<.kdesvn-buildrc>, a +default set of options will be used, and a few modules will be +built by default. + +After setting up F<.kdesvn-buildrc>, you can run this program from +either the command-line or from cron. It will automatically +download the modules from Subversion, create the build +system, and configure and make the modules you tell it to. +You can use this program to install KDE as well, +if you are building KDE for a single user. Note that B +will try to install the modules by default. + +If you DO specify a package name, then your settings will still be +read, but the script will try to build / install the package +regardless of F<.kdesvn-buildrc> + +This utility is part of the KDE Software Development Kit. + +=back + +=head1 OPTIONS + +=item B<--no-svn> + +Skip contacting the Subversion server. + +=item B<--no-build> + +Skip the build process. + +=item B<--no-install> + +Don't automatically install after build. + +=item B<--svn-only> + +Update from Subversion only (Identical to B<--no-build> at this point). + +=item B<--build-only> + +Build only, do not perform updates or install. + +=item B<--rc-file=EfilenameE> + +Read configuration from filename instead of default. + +=item B<--debug> + +Activates debug mode. + +=item B<--pretend>, B<-p> + +Do not contact the Subversion server, run make, or create / delete files +and directories. Instead, output what the script would have done. + +=item B<--nice=EvalueE> + +Allow you to run the script with a lower priority. The default value is +10 (lower priority by 10 steps). + +=item B<--prefix=/kde/path> + +This option is a shortcut to change the setting for kdedir from the +command line. It implies B<--reconfigure>. + +=item B<--color> + +Add color from the output. + +=item B<--no-color> + +Remove color from the output. + +=item B<--resume> + +Tries to resume the make process from the last time the script was run, +without performing the Subversion update. + +=item B<--resume-from=EpkgE> + +Starts building from the given package, without performing the Subversion +update. + +=item B<--revision=ErevE>, B<-r=ErevE> + +Forces update to revision from Subversion. + +=item B<--refresh-build> + +Start the build from scratch. + +=item B<--reconfigure> + +Run configure again, but don't clean the build directory or re-run +make -f Makefile.cvs. + +=item B<--recreate-configure> + +Run make -f Makefile.cvs again to redo the configure script. + +=item B<--no-rebuild-on-fail> + +Don not try to rebuild a module from scratch if it failed building and we +didn't already try to build it from scratch. + +=item B<--build-system-only> + +Create the build infrastructure, but don't actually perform the build. + +=item B<--install> + +Try to install the packages passed on the command line, or all packages in +F<~/.kdesvn-buildrc> that don't have manual-build set. Building and +Subversion updates are not performed. + +=item B<--EoptionE=> + +Any unrecognized options are added to the global configuration, overriding +any value that may exist. + +=item B<--EmoduleE,EoptionE=> + +Likewise, allow you to override any module specific option from the +command line. + +=item B<--help> + +Display the help and exit. + +=item B<--author> + +Output the author(s)'s name. + +=item B<--version> + +Output the program version. + +=head1 EXAMPLES + +=item B + +=item B I<--no-svn kdelibs> + +=item B I<--refresh-build> I + +=head1 BUGS + +Please use KDE bugzilla at http://bugs.kde.org for information and +reporting bugs. + +=head1 SEE ALSO + +You can find additional information at B home page, +F, or using kdesvn-build +docbook documentation, using the help kioslave, F. + +=head1 AUTHOR + +Michael Pyne + +=cut + + # Script to handle building KDE from Subversion. All of the configuration is # stored in the file ~/.kdesvn-buildrc. #