summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-06-19 20:26:36 +0200
committerGuillem Jover <guillem@debian.org>2013-06-22 05:25:19 +0200
commitce9c2569c2732db7d9c8940a812f2f07bb57e278 (patch)
tree01ee7e161240c60b27591c3300198a37fb5c47c0
parentdd707185da94c321bb9ad470f45fc304a00837a8 (diff)
downloaddpkg-ce9c2569c2732db7d9c8940a812f2f07bb57e278.tar.gz
scripts: Use F<> for pathnames in POD markup
-rw-r--r--scripts/Dpkg/Changelog/Parse.pm4
-rw-r--r--scripts/Dpkg/Control.pm14
-rw-r--r--scripts/Dpkg/Control/Info.pm4
-rw-r--r--scripts/Dpkg/Version.pm2
4 files changed, 12 insertions, 12 deletions
diff --git a/scripts/Dpkg/Changelog/Parse.pm b/scripts/Dpkg/Changelog/Parse.pm
index 23c2ac876..5d7f12785 100644
--- a/scripts/Dpkg/Changelog/Parse.pm
+++ b/scripts/Dpkg/Changelog/Parse.pm
@@ -54,7 +54,7 @@ failed, it will die.
The parsing itself is done by an external program (searched in the
following list of directories: $opt{libdir},
-/usr/local/lib/dpkg/parsechangelog, /usr/lib/dpkg/parsechangelog) That
+F</usr/local/lib/dpkg/parsechangelog>, F</usr/lib/dpkg/parsechangelog>) That
program is named according to the format that it's able to parse. By
default it's either "debian" or the format name lookep up in the 40 last
lines of the changelog itself (extracted with this perl regular expression
@@ -62,7 +62,7 @@ lines of the changelog itself (extracted with this perl regular expression
with $opt{changelogformat}. The program expects the content of the
changelog file on its standard input.
-The changelog file that is parsed is debian/changelog by default but it
+The changelog file that is parsed is F<debian/changelog> by default but it
can be overridden with $opt{file}.
All the other keys in %opt are forwarded as parameter to the external
diff --git a/scripts/Dpkg/Control.pm b/scripts/Dpkg/Control.pm
index 7177ef1c4..25178d21a 100644
--- a/scripts/Dpkg/Control.pm
+++ b/scripts/Dpkg/Control.pm
@@ -59,22 +59,22 @@ information is not yet known.
=item CTRL_INFO_SRC
-Corresponds to the first block of information in a debian/control file in
+Corresponds to the first block of information in a F<debian/control> file in
a Debian source package.
=item CTRL_INFO_PKG
-Corresponds to subsequent blocks of information in a debian/control file
+Corresponds to subsequent blocks of information in a F<debian/control> file
in a Debian source package.
=item CTRL_INDEX_SRC
-Corresponds to an entry in a Sources file of a source package
+Corresponds to an entry in a F<Sources> file of a source package
repository.
=item CTRL_INDEX_PKG
-Corresponds to an entry in a Packages file of a binary package
+Corresponds to an entry in a F<Packages> file of a binary package
repository.
=item CTRL_PKG_SRC
@@ -83,8 +83,8 @@ Corresponds to a .dsc file of a Debian source package.
=item CTRL_PKG_DEB
-Corresponds to the control file generated by dpkg-gencontrol
-(DEBIAN/control) and to the same file inside .deb packages.
+Corresponds to the F<control> file generated by dpkg-gencontrol
+(F<DEBIAN/control>) and to the same file inside .deb packages.
=item CTRL_FILE_CHANGES
@@ -96,7 +96,7 @@ Corresponds to a vendor file in $Dpkg::CONFDIR/origins/.
=item CTRL_FILE_STATUS
-Corresponds to an entry in dpkg's status file ($Dpkg::ADMINDIR/status).
+Corresponds to an entry in dpkg's F<status> file ($Dpkg::ADMINDIR/status).
=item CTRL_CHANGELOG
diff --git a/scripts/Dpkg/Control/Info.pm b/scripts/Dpkg/Control/Info.pm
index 39f2ea9a6..1ca2580ee 100644
--- a/scripts/Dpkg/Control/Info.pm
+++ b/scripts/Dpkg/Control/Info.pm
@@ -38,7 +38,7 @@ Dpkg::Control::Info - parse files like debian/control
=head1 DESCRIPTION
It provides an object to access data of files that follow the same
-syntax as debian/control.
+syntax as F<debian/control>.
=head1 FUNCTIONS
@@ -47,7 +47,7 @@ syntax as debian/control.
=item $c = Dpkg::Control::Info->new($file)
Create a new Dpkg::Control::Info object for $file. If $file is omitted, it
-loads debian/control. If file is "-", it parses the standard input.
+loads F<debian/control>. If file is "-", it parses the standard input.
=cut
diff --git a/scripts/Dpkg/Version.pm b/scripts/Dpkg/Version.pm
index 956178ffa..38830d9dc 100644
--- a/scripts/Dpkg/Version.pm
+++ b/scripts/Dpkg/Version.pm
@@ -399,7 +399,7 @@ sub version_check($) {
Don Armstrong <don@donarmstrong.com>, Colin Watson
<cjwatson@debian.org> and Raphaƫl Hertzog <hertzog@debian.org>, based on
-the implementation in C<dpkg/lib/version.c> by Ian Jackson and others.
+the implementation in F<dpkg/lib/version.c> by Ian Jackson and others.
=cut