~ubuntu-branches/ubuntu/precise/devscripts/precise-security

« back to all changes in this revision

Viewing changes to scripts/debclean.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:
29
29
directory once it finds a \fIdebian/changelog\fR file, and check
30
30
that the directory name corresponds to the package name.  Precisely
31
31
how it does this is controlled by two configuration file variables
32
 
DEVSCRIPTS_CHECK_DIRNAME_LEVEL and DEVSCRIPTS_CHECK_DIRNAME_REGEX, and
 
32
\fBDEVSCRIPTS_CHECK_DIRNAME_LEVEL\fR and \fBDEVSCRIPTS_CHECK_DIRNAME_REGEX\fR, and
33
33
their corresponding command-line options \fB\-\-check-dirname-level\fR
34
34
and \fB\-\-check-dirname-regex\fR.
35
35
.PP
36
 
DEVSCRIPTS_CHECK_DIRNAME_LEVEL can take the following values:
 
36
\fBDEVSCRIPTS_CHECK_DIRNAME_LEVEL\fR can take the following values:
37
37
.TP
38
38
.B 0
39
39
Never check the directory name.
47
47
.PP
48
48
The directory name is checked by testing whether the current directory
49
49
name (as determined by \fBpwd\fR(1)) matches the regex given by the
50
 
configuration file option DEVSCRIPTS_CHECK_DIRNAME_REGEX or by the
 
50
configuration file option \fBDEVSCRIPTS_CHECK_DIRNAME_REGEX\fR or by the
51
51
command line option \fB\-\-check-dirname-regex\fR \fIregex\fR.  Here
52
52
\fIregex\fR is a Perl regex (see \fBperlre\fR(3perl)), which will be
53
53
anchored at the beginning and the end.  If \fIregex\fR contains a '/',
68
68
directory; this is the default behaviour.
69
69
.TP
70
70
\fB\-\-check-dirname-level\fR \fIN\fR
71
 
See the above section "Directory name checking" for an explanation of
 
71
See the above section \fBDirectory name checking\fR for an explanation of
72
72
this option.
73
73
.TP
74
74
\fB\-\-check-dirname-regex\fR \fIregex\fR
75
 
See the above section "Directory name checking" for an explanation of
 
75
See the above section \fBDirectory name checking\fR for an explanation of
76
76
this option.
77
77
.TP
78
78
\fB\-\-no-conf\fR, \fB\-\-noconf\fR
99
99
\fB\-\-cleandebs\fR command line parameter being used.
100
100
.TP
101
101
.BR DEVSCRIPTS_CHECK_DIRNAME_LEVEL ", " DEVSCRIPTS_CHECK_DIRNAME_REGEX
102
 
See the above section "Directory name checking" for an explanation of
 
102
See the above section \fBDirectory name checking\fR for an explanation of
103
103
these variables.  Note that these are package-wide configuration
104
104
variables, and will therefore affect all \fBdevscripts\fR scripts
105
105
which check their value, as described in their respective manpages and