summaryrefslogtreecommitdiffstats
path: root/scripts/cvs-debi.1
blob: bb0ac8c864583a0de3e31c33a60fdb98f2129b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.TH CVS-DEBI 1 "Debian Utilities" "DEBIAN" \" -*- nroff -*-
.SH NAME
cvs-debi \- install cvs-buildpackage/cvs-debuild generated package
.SH SYNOPSIS
\fBcvs-debi\fP [\fIoptions\fR] [\fIpackage\fR ...]
.SH DESCRIPTION
\fBcvs-debi\fR is run from the CVS working directory after
\fBcvs-buildpackage\fR or \fBcvs-debuild\fR.  It uses the
\fBcvs-buildpackage\fR system to locate the \fI.changes\fR file
generated in that run.  It then runs \fBdebpkg \-i\fR on
every \fI.deb\fR archive listed in the \fI.changes\fR file to install
them, assuming that all of the \fI.deb\fR archives live in the same
directory as the \fI.changes\fR file.  Note that you probably don't
want to run this program on a \fI.changes\fR file relating to a
different architecture after cross-compiling the package!
.PP
If a list of packages is given on the command line, then only those
debs with names in this list of packages will be installed.
.PP
Note that unlike \fBcvs-buildpackage\fR, the only way to specify the
source package name is with the \fB\-P\fR option; you cannot simply
have it as the last command-line parameter.
.PP
Since installing a package requires root privileges, \fBdebi\fR calls
\fBdebpkg\fR rather than \fBdpkg\fR directly.  Thus \fBdebi\fR will
only be useful if it is either being run as root or \fBdebpkg\fR can
be run as root.  See \fBdebpkg\fR(1) for more details.
.SH OPTIONS
All current \fBcvs-buildpackage\fR options are silently accepted;
however, only the ones listed below have any effect.  For more details
on all of them, see the \fBcvs-buildpackage\fR(1) manpage.
.TP
\fB\-a\fIdebian-architecture\fR, \fB\-t\fIGNU-system-type\fR
See \fBdpkg-architecture\fR(1) for a description of these options.
They affect the search for the \fI.changes\fR file.  They are provided
to mimic the behaviour of \fBdpkg-buildpackage\fR when determining the
name of the \fI.changes\fR file.
.TP
.BR \-M\fImodule
The name of the CVS module.
.TP
.BR \-P\fIpackage
The name of the package.
.TP
.B \-V\fIversion
The version number of the package.
.TP
.B \-T\fItag
The CVS tag to use for exporting sources.
.TP
.B \-R\fIroot\ directory
Root of the original sources archive.
.TP
.B \-W\fIwork directory
The full path name for the cvs-buildpackage working directory.
.TP
.B \-x\fIprefix
This option provides the CVS default module prefix.
.TP
\fB\-\-help\fR, \fB\-\-version\fR
Show help message and version information respectively.
.SH "SEE ALSO"
.BR cvs-buildpackage (1),
.BR cvs-debc (1),
.BR cvs-debuild (1),
.BR debi (1)
.SH AUTHOR
\fBcvs-buildpackage\fR was written by Manoj Srivastava, and the
current version of \fBdebi\fR was written by Julian Gilbey
<jdg@debian.org>.  They have been combined into this program by
Julian Gilbey.