~ubuntu-branches/ubuntu/saucy/devscripts/saucy

« back to all changes in this revision

Viewing changes to scripts/debc.1

  • Committer: Steve Langasek
  • Date: 2012-01-24 18:54:51 UTC
  • mfrom: (10.9.8 sid)
  • Revision ID: steve.langasek@canonical.com-20120124185451-etgj6b2oici5e0k0
Merge version 2.11.3 from Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
directory once it finds the \fIdebian/changelog\fR file, and check
34
34
that the directory name corresponds to the package name.  Precisely
35
35
how it does this is controlled by two configuration file variables
36
 
DEVSCRIPTS_CHECK_DIRNAME_LEVEL and DEVSCRIPTS_CHECK_DIRNAME_REGEX, and
 
36
\fBDEVSCRIPTS_CHECK_DIRNAME_LEVEL\fR and \fBDEVSCRIPTS_CHECK_DIRNAME_REGEX\fR, and
37
37
their corresponding command-line options \fB\-\-check-dirname-level\fR
38
38
and \fB\-\-check-dirname-regex\fR.
39
39
.PP
40
 
DEVSCRIPTS_CHECK_DIRNAME_LEVEL can take the following values:
 
40
\fBDEVSCRIPTS_CHECK_DIRNAME_LEVEL\fR can take the following values:
41
41
.TP
42
42
.B 0
43
43
Never check the directory name.
51
51
.PP
52
52
The directory name is checked by testing whether the current directory
53
53
name (as determined by \fBpwd\fR(1)) matches the regex given by the
54
 
configuration file option DEVSCRIPTS_CHECK_DIRNAME_REGEX or by the
 
54
configuration file option \fBDEVSCRIPTS_CHECK_DIRNAME_REGEX\fR or by the
55
55
command line option \fB\-\-check-dirname-regex\fR \fIregex\fR.  Here
56
56
\fIregex\fR is a Perl regex (see \fBperlre\fR(3perl)), which will be
57
57
anchored at the beginning and the end.  If \fIregex\fR contains a '/',
69
69
to mimic the behaviour of \fBdpkg-buildpackage\fR when determining the
70
70
name of the \fI.changes\fR file.
71
71
.TP
72
 
\fB\-\-debs\-dir\fR \fIDIR\fR
 
72
\fB\-\-debs\-dir\fR \fIdirectory\fR
73
73
Look for the \fI.changes\fR, \fI.deb\fR and \fI.udeb\fR files in
74
 
directory \fIDIR\fR instead of the parent of the source directory.
 
74
\fIdirectory\fR instead of the parent of the source directory.
75
75
This should either be an absolute path or relative to the top of the
76
76
source directory.
77
77
.TP
78
78
\fB\-\-check-dirname-level\fR \fIN\fR
79
 
See the above section "Directory name checking" for an explanation of
 
79
See the above section \fBDirectory name checking\fR for an explanation of
80
80
this option.
81
81
.TP
82
82
\fB\-\-check-dirname-regex\fR \fIregex\fR
83
 
See the above section "Directory name checking" for an explanation of
 
83
See the above section \fBDirectory name checking\fR for an explanation of
84
84
this option.
85
85
.TP
86
86
\fB\-\-no-conf\fR, \fB\-\-noconf\fR
107
107
the option.
108
108
.TP
109
109
.BR DEVSCRIPTS_CHECK_DIRNAME_LEVEL ", " DEVSCRIPTS_CHECK_DIRNAME_REGEX
110
 
See the above section "Directory name checking" for an explanation of
 
110
See the above section \fBDirectory name checking\fR for an explanation of
111
111
these variables.  Note that these are package-wide configuration
112
112
variables, and will therefore affect all \fBdevscripts\fR scripts
113
113
which check their value, as described in their respective manpages and