# rant(1) [debian man page]

RANT(1) General Commands Manual RANT(1)NAME

rant - A flexible and portable build tool.SYNOPSIS

rant [OPTION] ... [TARGET] ...DESCRIPTION

Striking features * Defining custom tasks. * Automated packaging, testing and RDoc generation for Ruby applications and libraries. * Creation of a monolithic script tailored to the needs of a specific project which can be used instead of an Rant installation - users don't need to install Rant. [See man rant-import] * Creating gzipped tar and zip archiveswithout installing additional software. * Optional recognition of file changes based on MD5 checksums instead of file modification times. * Dependency checking for C/C++ source files (integrated makedepend replacement). * Primitive support for compiling C# sources with csc, cscc and mcs. Startup On startup, rant will look for a file called Rantfile , rantfile or root.rant which contains the build specification (which in fact is valid Ruby code). After reading the Rantfile(s), rant will execute the following tasks: If at least one target was given on the commandline: rant will execute all tasks necessary to build all targets given on the commandline. else: rant tries to build the target called "default". If no task with this name exists, rant invokes the first defined task. If you want to know which task(s) will be invoked when no target is given on the commandline, run rant with the--option. Example: $ rant-Trant # => test rant package # Create packages for distribution. rant doc # Generate documentation. rant publish-docs # Publish html docs on make.rubyfore.org. # Note: scp will prompt for rubyforge password. rant test # Run basic tests. The first line always shows the target that will be built if no target argument is given. In this case, it would be the test target.-TOPTIONS

--helpPrint a help message and exit.-h--versionPrint version of Rant and exit.-V--verbosePrint more messages to stderr.-v--quietDon't print commands.-qPrint failed commands and their exit status.--err-commandsDIRECTORY--directoryDIRECTORY Run rant in DIRECTORY.-C--cd-parentWith this option, Rant starts to search for an Rantfile in the current working directory as usual, but if it doesn't find one, it changes to the parent directory and looks there for an Rantfile. This is repeated until an Rantfile is found or the working directory is the root directory of the filesystem.-c--look-upLook in parent directories for root Rantfile.-uRANTFILE--rantfileRANTFILE Process RANTFILE instead of standard rantfiles. Multiple files may be specified by repeating this option.-fTARGET--force-runTARGET Force rebuild of TARGET and all dependencies.-a--dry-runPrint the names of the tasks that would be executed instead of actually executing task actions.-n--tasksShow a list of all described tasks and exit.-THOMEPAGE

<http://rant.rubyforge.org/>AUTHOR

rant developed by Stefan Lang <langstefan@gmx.at>COPYRIGHT

Copyright (C) 2005 Stefan Lang <langstefan@gmx.at>SEE ALSO

rant-import(1) September 17, 2006 RANT(1)

## Check Out this Related Man Page

ATAN2(3) Linux Programmer's Manual ATAN2(3)NAME

atan2, atan2f, atan2l - arc tangent function of two variablesSYNOPSIS

#include <math.h> double atan2(double y, double x); float atan2f(float y, float x); long double atan2l(long double y, long double x); Link withFeature Test Macro Requirements for glibc (see feature_test_macros(7)): atan2f(), atan2l(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc-lm.-std=c99DESCRIPTION

The atan2() function calculates the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quad- rant of the result.RETURN VALUE

On success, these functions return the principal value of the arc tangent of y/x in radians; the return value is in the range [, pi]. If y is +0 (-0) and x is less than 0, +pi (-pi) is returned. If y is +0 (-0) and x is greater than 0, +0 (-0) is returned. If y is less than 0 and x is +0 or-pi, -pi/2 is returned. If y is greater than 0 and x is +0 or-0, pi/2 is returned. If either x or y is NaN, a NaN is returned. If y is +0 (-0) and x is-0, +pi (-pi) is returned. If y is +0 (-0) and x is +0, +0 (-0) is returned. If y is a finite value greater (less) than 0, and x is negative infinity, +pi (-pi) is returned. If y is a finite value greater (less) than 0, and x is positive infinity, +0 (-0) is returned. If y is positive infinity (negative infinity), and x is finite, pi/2 (-pi/2) is returned. If y is positive infinity (negative infinity) and x is negative infinity, +3*pi/4 (-3*pi/4) is returned. If y is positive infinity (negative infinity) and x is positive infinity, +pi/4 (-pi/4) is returned.-0ERRORS

No errors occur.CONFORMING TO

C99, POSIX.1-2001. The variant returning double also conforms to SVr4, 4.3BSD, C89.SEE ALSO

acos(3), asin(3), atan(3), carg(3), cos(3), sin(3), tan(3)COLOPHON

This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. 2008-11-20 ATAN2(3)