Rechercher une page de manuel
hg-buildpackage
Langue: en
Version: 10 May 2008 (ubuntu - 07/07/09)
Section: 1 (Commandes utilisateur)
Sommaire
NAME
hg-buildpackage - Build Debian packages from a Mercurial archiveSYNOPSIS
hg-buildpackage [ args for debuild ... ]
DESCRIPTION
The hg-buildpackage command is used to build Debian source and .deb packages from a checked-out version of a Debian source tree. Please refer to the hg-buildpackage manual for instructions on how to check out such a tree.
hg-buildpackage will, in order:
- •
- Verify that it is being executed from the proper location.
- •
- Check to see if a proper orig.tar.gz exists. If not, it will check out the proper upstream directory from the hg-buildpackage repository (if necessary) and build the orig.tar.gz. The orig.tar.gz will not contain Mercurial meta-data.
If the upstream repository is not available locally, it will consult mirrors in the same manner as hg-get(1).
- •
- Call debuild(1) (or the application specified in DBP_BUILDER) with arguments instructing it to ignore Mercurial meta-data in the diff.gz, passing along all arguments given to hg-buildpackage.
OPTIONS
All options passed to hg-buildpackage are sent directly to debuild(1).
ENVIRONMENT VARIABLES
If the DBP_BUILDER environment variable is set, it will be taken as the name of a command to use to build the Debian packages. It will be passed the same arguments as debuild would have received.
EXAMPLE
~$ cd ~/tree/debian FIXME: show example
ENVIRONMENT
This application uses no environment variables directly, but other programs it calls may do so.
COPYRIGHT
hg-buildpackage, all associated scripts and programs, this manual, and all build scripts are Copyright (C) 2003 - 2007 John Goerzen.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
AUTHOR
hg-buildpackage, its modules, documentation, executables, and all included files, except where noted, was written by John Goerzen <jgoerzen@complete.org> and copyright is held as stated in the COPYRIGHT section.
hg-buildpackage may be downloaded from the Debian packaging system or at
<URL:http://packages.debian.org/hg-buildpackage>.
hg-buildpackage may also be downloaded using Mercurial by running hg clone http://hg.complete.org/hg-buildpackage.
SEE ALSO
Detailed usage information, including a background and a description of how the tools fit together, can be found in the hg-buildpackage Manual. On Debian systems, you may find this at /usr/share/doc/hg-buildpackage.
hg-buildpackage applications have references in that manual and the following manpages: hg-importdsc(1), hg-importorig(1), hg-markdeb(1), hg-buildpackage(1).
Other related references include: hg(1), debuild(1), dpkg-buildpackage(1).
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre