Преглед на файлове

scripts: Use F<> for pathnames in POD markup

Guillem Jover преди 13 години
родител
ревизия
ce9c2569c2
променени са 4 файла, в които са добавени 12 реда и са изтрити 12 реда
  1. 2 2
      scripts/Dpkg/Changelog/Parse.pm
  2. 7 7
      scripts/Dpkg/Control.pm
  3. 2 2
      scripts/Dpkg/Control/Info.pm
  4. 1 1
      scripts/Dpkg/Version.pm

+ 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
 The parsing itself is done by an external program (searched in the
 following list of directories: $opt{libdir},
 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
 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
 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
 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
 with $opt{changelogformat}. The program expects the content of the
 changelog file on its standard input.
 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}.
 can be overridden with $opt{file}.
 
 
 All the other keys in %opt are forwarded as parameter to the external
 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
 =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.
 a Debian source package.
 
 
 =item CTRL_INFO_PKG
 =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.
 in a Debian source package.
 
 
 =item CTRL_INDEX_SRC
 =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.
 repository.
 
 
 =item CTRL_INDEX_PKG
 =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.
 repository.
 
 
 =item CTRL_PKG_SRC
 =item CTRL_PKG_SRC
@@ -83,8 +83,8 @@ Corresponds to a .dsc file of a Debian source package.
 
 
 =item CTRL_PKG_DEB
 =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
 =item CTRL_FILE_CHANGES
 
 
@@ -96,7 +96,7 @@ Corresponds to a vendor file in $Dpkg::CONFDIR/origins/.
 
 
 =item CTRL_FILE_STATUS
 =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
 =item CTRL_CHANGELOG
 
 

+ 2 - 2
scripts/Dpkg/Control/Info.pm

@@ -38,7 +38,7 @@ Dpkg::Control::Info - parse files like debian/control
 =head1 DESCRIPTION
 =head1 DESCRIPTION
 
 
 It provides an object to access data of files that follow the same
 It provides an object to access data of files that follow the same
-syntax as debian/control.
+syntax as F<debian/control>.
 
 
 =head1 FUNCTIONS
 =head1 FUNCTIONS
 
 
@@ -47,7 +47,7 @@ syntax as debian/control.
 =item $c = Dpkg::Control::Info->new($file)
 =item $c = Dpkg::Control::Info->new($file)
 
 
 Create a new Dpkg::Control::Info object for $file. If $file is omitted, it
 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
 =cut
 
 

+ 1 - 1
scripts/Dpkg/Version.pm

@@ -399,7 +399,7 @@ sub version_check($) {
 
 
 Don Armstrong <don@donarmstrong.com>, Colin Watson
 Don Armstrong <don@donarmstrong.com>, Colin Watson
 <cjwatson@debian.org> and Raphaël Hertzog <hertzog@debian.org>, based on
 <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
 =cut