package dput
retitle 348908 dput: guess location of package ‘*.changes’ file
thanks

On 19-Jan-2006, Joey Hess wrote:
> Several of the utilities in devscripts recognise when they are being run
> from a package's source tree, and automatically find the built files
> based on that. It would be convenient for dput to be able to do the same,
> so if there's a debian/changelog use it to get the package name and
> version and look for ../package_version_*.changes

The file needs to be located, more generally, wherever the package build
process puts it.

It is common for VCS-helper build tools such as ‘bzr-buildpackage’ or
‘svn-buildpackage’ etc. to have a configured source package destination
which is often not the parent directory.

For example, ‘svn-buildpackage(1)’ specifies the “buildArea” property; the
‘bzr-buildpackage’ tool uses the “build-dir” option.

Other VCS-helper build tools may have corresponding configuration settings
to specify the package build destiantion, and hence the location of the
‘*.changes’ file.

-- 
 \          “In general my children refuse to eat anything that hasn't |
  `\                              danced on television.” —Erma Bombeck |
_o__)                                                                  |
Ben Finney <b...@benfinney.id.au>

Attachment: signature.asc
Description: Digital signature

Reply via email to