Home Man
Today's Posts

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

Linux 2.6 - man page for dpkg::buildoptions (linux section 3)

Dpkg::BuildOptions(3)			   libdpkg-perl 		    Dpkg::BuildOptions(3)

       Dpkg::BuildOptions - parse and update build options

       The Dpkg::BuildOptions object can be used to manipulate options stored in the
       DEB_BUILD_OPTIONS environment variable.

       my $bo = Dpkg::BuildOptions->new()
	   Create a new Dpkg::BuildOptions object. It will be initialized based on the value of
	   the DEB_BUILD_OPTIONS environment variable.

	   Reset the object to not have any option (it's empty).

       $bo->merge($content, $source)
	   Merge the options set in $content and record that they come from the source $source.
	   $source is mainly used in warning messages currently to indicate where invalid options
	   have been detected.

	   $content is a space separated list of options with optional assigned values like
	   "nocheck parallel=2".

       $bo->set($option, $value, [$source])
	   Store the given option in the objet with the given value. It's legitimate for a value
	   to be undefined if the option is a simple boolean (its presence means true, its
	   absence means false). The $source is optional and indicates where the option comes

	   The known options have their values checked for sanity. Options without values have
	   their value removed and options with invalid values are discarded.

	   Return the value associated to the option. It might be undef even if the option
	   exists. You might want to check with $bo->has($option) to verify if the option is
	   stored in the object.

	   Returns a boolean indicating whether the option is stored in the object.

       $string = $bo->output($fh)
	   Return a string representation of the build options suitable to be assigned to an
	   environment variable. Can optionnaly output that string to the given filehandle.

	   Export the build options to the given environment variable. If omitted,
	   DEB_BUILD_OPTIONS is assumed. The value set to the variable is also returned.

       Raphael Hertzog <hertzog@debian.org>				    2012-04-17			    Dpkg::BuildOptions(3)

All times are GMT -4. The time now is 10:23 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password