Procházet zdrojové kódy

scripts: Use F<> for pathnames in POD markup

Guillem Jover před 13 roky
rodič
revize
ce9c2569c2

+ 2 - 2
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

+ 7 - 7
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
 

+ 2 - 2
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
 

+ 1 - 1
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