1
.\" dpkg manual page - dpkg-buildpackage(1)
3
.\" Copyright © 1995-1996 Ian Jackson
4
.\" Copyright © 2000 Wichert Akkerman <wakkerma@debian.org>
5
.\" Copyright © 2007-2008 Frank Lichtenheld <djpig@debian.org>
6
.\" Copyright © 2008-2013 Guillem Jover <guillem@debian.org>
7
.\" Copyright © 2008-2012 Raphaël Hertzog <hertzog@debian.org>
9
.\" This is free software; you can redistribute it and/or modify
10
.\" it under the terms of the GNU General Public License as published by
11
.\" the Free Software Foundation; either version 2 of the License, or
12
.\" (at your option) any later version.
14
.\" This is distributed in the hope that it will be useful,
15
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
.\" GNU General Public License for more details.
19
.\" You should have received a copy of the GNU General Public License
20
.\" along with this program. If not, see <https://www.gnu.org/licenses/>.
22
.\"*******************************************************************
24
.\" This file was generated with po4a. Translate the source file.
26
.\"*******************************************************************
27
.TH dpkg\-buildpackage 1 2013\-12\-12 "Proyecto Debian" "Herramientas de dpkg"
29
dpkg\-buildpackage \- Construcci�n de paquetes binarios o fuente a partir de
33
\fBdpkg\-buildpackage\fP [\fIopci�n\fP...]
36
\fBdpkg\-buildpackage\fP es un programa que automatiza el proceso de
37
construcci�n de un paquete de Debian. �ste consiste de los siguientes pasos:
39
Preparaci�n del entorno de construcci�n, definiendo varias variables de
40
entorno (consulte \fBVARIABLES DE ENTORNO\fP) para ejecutar \fBdpkg\-source
41
\-\-before\-build\fP (a menos que se defina \fB\-T\fP o \fB\-\-target\fP.
43
Verificar que las dependencias y conflictos de construcci�n
44
(�build\-dependencies� y �build\-conflicts�, respectivamente) est�n
45
satisfechas (a menos que especifique \fB\-d\fP).
47
Si se selecciona un objetivo espec�fico con \fB\-T\fP o \fB\-\-target\fP, ejecutar
48
ese objetivo y se detiene. De no ser as�, ejecuta \fBfakeroot debian/rules
49
clean\fP para limpiar el �rbol de construcci�n (a menos que especifique
52
Ejecuci�n de \fBdpkg\-source \-b\fP para generar el paquete fuente (a menos que
53
se requiera s�lo la construcci�n del paquete binario con \fB\-b\fP, \fB\-B\fP o
56
Ejecuci�n de \fBdebian/rules\fP \fIbuild\-target\fP seguido de \fBfakeroot
57
debian/rules\fP \fIbinary\-target\fP (a menos que s�lo se solicite la construcci�n
58
de las fuentes mediante \fB\-S\fP). Tenga en cuenta que y \fBbuild\-target\fP y
59
\fIbinary\-target\fP son \fBbuild\fP o \fBbinary\fP (por omisi�n, o si se define
60
\fB\-b\fP), o \fBbuild\-arch\fP y \fBbinary\-arch\fP (si se define \fB\-B\fP), o
61
\fBbuild\-indep\fP y \fBbinary\-indep\fP (si se define \fB\-A\fP).
63
It calls \fBgpg2\fP or \fBgpg\fP to sign the \fB.dsc\fP file (if any, unless \fB\-us\fP
64
is specified or on UNRELEASED builds).
66
Ejecuci�n de \fBdpkg\-genchanges\fP para generar el fichero \fB.changes\fP. Muchas
67
de las opciones de \fBdpkg\-buildpackage\fP se introducen a \fBdpkg\-genchanges\fP.
69
It calls \fBgpg2\fP or \fBgpg\fP to sign the \fB.changes\fP file (unless \fB\-uc\fP is
70
specified or on UNRELEASED builds).
72
Si se especifica \fB\-tc\fP, se ejecutar� nuevamente \fBfakeroot debian/rules
73
clean\fP. Por �ltimo, ejecuta \fBdpkg\-source \-\-after\-build\fP.
78
Especifica una construcci�n s�lo binaria, no se construir�n ficheros de
79
fuentes y/o distribuidas. Se introduce a \fBdpkg\-genchanges\fP.
82
Especifica una construcci�n s�lo binaria, limitada a paquetes dependientes
83
de arquitectura. Se introduce a \fBdpkg\-genchanges\fP.
86
Especifica una construcci�n s�lo binaria, limitada a paquetes independientes
87
de la arquitectura. Se introduce a \fBdpkg\-genchanges\fP.
90
Especifica una construcci�n s�lo de las fuentes, no se construir� ning�n
91
paquete binario. Se introduce a \fBdpkg\-genchanges\fP.
94
Define una construcci�n completa normal, se construyen los paquetes binarios
95
y de fuente. Es id�ntica al comportamiento predefinido cuando no se define
96
ninguna opci�n de construcci�n.
98
\fB\-\-target=\fP\fItarget\fP
100
\fB\-\-target \fP\fItarget\fP
102
\fB\-T\fP\fItarget\fP
103
Ejecuta \fBdebian/rules\fP \fItarget\fP despu�s de definir el entorno de
104
construcci�n, deteniendo en este punto el proceso de construcci�n del
105
paquete. Si se introduce \fB\-\-as\-root\fP, la orden se ejecutar� como el usuario
106
�root� (v�ase \fB\-r\fP). Tenga en cuenta que los objetivos oficiales que
107
precisan ejecutarse como administrador seg�n las directrices de Debian no
108
necesitan esta opci�n.
111
Su uso s�lo tiene sentido con \fB\-\-target\fP. Requiere que se ejecute el
112
objetivo con permisos del usuario �root�.
120
\fB\-v\fP\fIversi�n\fP
122
\fB\-C\fP\fIdescripci�n\-de\-cambios\fP
124
\fB\-m\fP\fIdirecci�n\-mantenedor\fP
126
\fB\-e\fP\fIdirecci�n\-mantenedor\fP
127
Se introduce sin cambios a \fBdpkg\-genchanges\fP. Consulte la p�gina de manual.
129
\fB\-a\fP\fIarquitectura\fP
130
Especifica la arquitectura de Debian para la cual se construye el
131
paquete. La arquitectura de la m�quina en la que se construye el paquete se
132
detecta autom�ticamente, y es tambi�n la arquitectura de destino por omisi�n
133
para la m�quina anfitri�n.
135
\fB\-t\fP\fItipo\-sistema\-gnu\fP
136
Define el tipo de sistema GNU para el cual se construye el paquete. Se puede
137
utilizar en lugar de �\-a�, o como un complemento para invalidar el tipo de
138
sistema GNU predefinido de la arquitectura Debian de destino.
140
\fB\-P\fP\fIprofile\fP[\fB,\fP...]
141
Specify the profile(s) we build, as a comma\-separated list, without the
142
"\fBprofile.\fP" namespace prefix. The default behavior is to build for no
143
specific profile. Also adds them (as a space separated list) to the
144
\fBDEB_BUILD_PROFILES\fP environment variable which allows, for example,
145
\fBdebian/rules\fP files to use this information for conditional builds.
147
\fB\-j\fP\fItareas\fP
148
Number of jobs allowed to be run simultaneously, equivalent to the
149
\fBmake\fP(1) option of the same name. Will add itself to the \fBMAKEFLAGS\fP
150
environment variable, which should cause all subsequent make invocations to
151
inherit the option. Also adds \fBparallel=\fP\fIjobs\fP to the
152
\fBDEB_BUILD_OPTIONS\fP environment variable which allows debian/rules files to
153
use this information for their own purposes. The \fBparallel=\fP\fIjobs\fP in
154
\fBDEB_BUILD_OPTIONS\fP environment variable will override the \fB\-j\fP value if
155
this option is given.
158
Verifica las dependencias y los conflictos de construcci�n, interrumpiendo
159
el proceso si alguna no est� satisfecha. Este es el comportamiento por
163
No revisa dependencias ni conflictos de construcci�n.
166
No limpia el �rbol de fuentes (implica \fB\-b\fP si no se introdujo \fB\-B\fP, \fB\-A\fP
170
Limpia el �rbol de fuentes (usando \fIorden\-para\-obtener\-root\fP \fBdebian/rules
171
clean\fP) despu�s de la creaci�n del paquete.
173
\fB\-r\fP\fIorden\-para\-obtener\-root\fP
174
Cuando \fBdpkg\-buildpackage\fP necesite ejecutar parte del proceso de
175
construcci�n como �root�, a�ade el prefijo \fIorden\-para\-obtener\-root\fP a la
176
orden a ejecutar en caso de haberse especificado. La
177
\fIorden\-para\-obtener\-root\fP debe ser el nombre de un programa que est� dentro
178
del \fBPATH\fP, y tomar� como argumentos el nombre del proceso a ejecutar, as�
179
como los argumentos que �ste toma. La \fIorden\-para\-obtener\-root\fP puede
180
incluir par�metros, pero no caracteres especiales del int�rprete de
181
�rdenes. La \fIorden\-para\-obtener\-root\fP puede ser \fBfakeroot\fP, \fBsudo\fP,
182
\fBsuper\fP o \fBreally\fP. \fBsu\fP no es adecuado ya que s�lo puede iniciar el
183
int�rprete de �rdenes del usuario con \fB\-c\fP, en lugar de introducir los
184
argumentos individualmente a la orden a ejecutar.
186
\fB\-R\fP\fIfichero\-reglas\fP
187
Habitualmente, construir un paquete de Debian incluye ejecutar
188
\fBdebian/rules\fP como una orden con varios par�metros est�ndar. Esta opci�n
189
posibilita ejecutar otro programa para construir el paquete (puede incluir
190
par�metros separados por espacios). Por otra parte, se puede utilizar para
191
ejecutar el fichero de reglas (�rules�) est�ndar con otro programa de make
192
(por ejemplo, usando \fB/usr/local/bin/make \-f debian/rules\fP como
193
\fIfichero\-reglas\fP.
195
\fB\-p\fP\fIorden\-para\-firmar\fP
196
When \fBdpkg\-buildpackage\fP needs to execute GPG to sign a source control
197
(\fB.dsc\fP) file or a \fB.changes\fP file it will run \fIsign\-command\fP (searching
198
the \fBPATH\fP if necessary) instead of \fBgpg2\fP or \fBgpg\fP. \fIsign\-command\fP will
199
get all the arguments that \fBgpg2\fP or \fBgpg\fP would have
200
gotten. \fIsign\-command\fP should not contain spaces or any other shell
203
\fB\-k\fP\fIllave\-id\fP
204
Especifica una llave de identificaci�n a utilizar para firmar los paquetes.
207
No firma el paquete fuente.
210
No firma el fichero \fB.changes\fP.
212
\fB\-\-force\-sign\fP
213
Force the signing of the resulting files (since dpkg 1.17.0), regardless of
214
\fB\-us\fP or \fB\-uc\fP or other internal heuristics.
216
\fB\-i\fP[\fIregex\fP]
218
\fB\-I\fP[\fIpattern\fP]
220
\fB\-s\fP[\fBnsAkurKUR\fP]
223
Se introduce sin cambios a \fBdpkg\-source\fP. Consulte la p�gina de manual.
225
\fB\-\-source\-option=\fP\fIopci�n\fP
226
Introduce la opci�n \fIopci�n\fP a \fBdpkg\-source\fP.
228
\fB\-\-changes\-option=\fP\fIopci�n\fP
229
Introduce la opci�n \fIopci�n\fP a \fBdpkg\-genchanges\fP.
231
\fB\-\-admindir=\fP\fIdirectorio\fP
233
\fB\-\-admindir\fP \fIdirectorio\fP
234
Cambia el directorio con la base de datos de \fBdpkg\fP. Por omisi�n es
237
\fB\-?\fP, \fB\-\-help\fP
238
Muestra el modo de uso y termina.
241
Muestra la versi�n y termina.
246
If set, it will be used to sign the \fB.changes\fP and \fB.dsc\fP files.
247
Overridden by the \fB\-k\fP option.
249
\fBDEB_BUILD_PROFILES\fP
250
If set, it will be used as the active build profile(s) for the package being
251
built. It is a space separated list of profile names, without the
252
"\fBprofile.\fP" namespace prefix. Overridden by the \fB\-P\fP option.
254
.SS "Reliance on exported environment flags"
255
A�n en el caso de que \fBdpkg\-buildpackage\fP exporte algunas variables,
256
\fBdebian/rules\fP no deber�a depender de su presencia, sino que deber�a
257
utilizar la interfaz adecuada para obtener los valores necesarios.
258
.SS "Variables definidas por dpkg\-architecture"
259
\fBdpkg\-architecture\fP se ejecuta con los par�metros \fB\-a\fP y \fB\-t\fP. Toda
260
variable que ofrece una salida mediante su opci�n \fB\-s\fP se integra en el
261
entorno de construcci�n.
264
.SS "Las opciones de compilaci�n ya no se exportan."
265
Between dpkg 1.14.17 and 1.16.1, \fBdpkg\-buildpackage\fP exported compiler
266
flags (\fBCFLAGS\fP, \fBCXXFLAGS\fP, \fBFFLAGS\fP, \fBCPPFLAGS\fP and \fBLDFLAGS\fP) with
267
values as returned by \fBdpkg\-buildflags\fP. This is no longer the case.
268
.SS "Default build targets"
269
\fBdpkg\-buildpackage\fP is using the \fBbuild\-arch\fP and \fBbuild\-indep\fP targets
270
since dpkg 1.16.2. Those targets are thus mandatory. But to avoid breakages
271
of existing packages, and ease the transition, it will fallback to using the
272
\fBbuild\fP target if \fBmake \-f debian/rules \-qn\fP \fIbuild\-target\fP returns 2 as
275
Deber�a ser posible especificar espacios y caracteres especiales del
276
int�rprete de �rdenes en los argumentos iniciales de la
277
\fIorden\-para\-obtener\-root\fP y la \fIorden\-para\-firmar\fP.
282
\fBdpkg\-source\fP(1), \fBdpkg\-architecture\fP(1), \fBdpkg\-buildflags\fP(1),
283
\fBdpkg\-genchanges\fP(1), \fBfakeroot\fP(1), \fBgpg2\fP(1), \fBgpg\fP(1).
285
Rudy Godoy <rudy@kernel\-panik.org>,
286
Rub�n Porras <nahoo@inicia.es>,
287
Bruno Barrera C. <bruno.barrera@igloo.cl>,
288
Carlos Izquierdo <gheesh@ertis.net>,
291
Debian L10n Spanish <debian\-l10n\-spanish@lists.debian.org>.
293
Revisiones por Santiago Vila <sanvila@unex.es>,
294
Javier Fern�ndez\-Sanguino, Rub�n Porras,
295
Luis Uribe y Omar Campagne.