RANT(1) General Commands Manual RANT(1)NAME
rant - A flexible and portable build tool.
rant [OPTION] ... [TARGET] ...
* 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 archives -- without installing
* Optional recognition of file changes based on MD5 checksums instead
of file modification times.
* Dependency checking for C/C++ source files (integrated makedepend
* Primitive support for compiling C# sources with csc, cscc and mcs.
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.
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 -T option. Example:
$ rant -T
rant # => 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.
Print a help message and exit.
Print version of Rant and exit.
Print more messages to stderr.
Don't print commands.
Print failed commands and their exit status.
--directory DIRECTORY -C DIRECTORY
Run rant in DIRECTORY.
With 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.
Look in parent directories for root Rantfile.
--rantfile RANTFILE -f RANTFILE
Process RANTFILE instead of standard rantfiles.
Multiple files may be specified by repeating this option.
--force-run TARGET -a TARGET
Force rebuild of TARGET and all dependencies.
Print the names of the tasks that would be executed instead
of actually executing task actions.
Show a list of all described tasks and exit.
rant developed by Stefan Lang <firstname.lastname@example.org>
Copyright (C) 2005 Stefan Lang <email@example.com>
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 variables
double atan2(double y, double x);
float atan2f(float y, float x);
long double atan2l(long double y, long double x);
Link with -lm.
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
atan2f(), atan2l(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99
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.
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, 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 -0, -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.
No errors occur.
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/.