diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-12-19 15:14:47 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-12-19 15:14:47 +0000 |
commit | 21f7822eb25d3876bea04f38bd329da926f3da86 (patch) | |
tree | 05e31450da822bb65f168999256598f3f15bcccd /Porting/patching.pod | |
parent | 687d3573c7533b89705e64f529b53c631cb9dec0 (diff) | |
download | perl-21f7822eb25d3876bea04f38bd329da926f3da86.tar.gz |
Fix paths of pack.pl in patching.pod
p4raw-id: //depot/perl@29594
Diffstat (limited to 'Porting/patching.pod')
-rw-r--r-- | Porting/patching.pod | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Porting/patching.pod b/Porting/patching.pod index 5114d72a57..52c60d0d11 100644 --- a/Porting/patching.pod +++ b/Porting/patching.pod @@ -153,22 +153,22 @@ you have your changes, you would run makepatch as follows: =item Binary Files -Since the patch(1) utility can not deal with binary files, it's important -that you either avoid the use of binary files in your patch, generate the files -dynamically or that you encode any binary files using the C<Porting/pack.pl> -utility. +Since the patch(1) utility cannot deal with binary files, it's important +that you either avoid the use of binary files in your patch, generate the +files dynamically, or that you encode any binary files using the +F<pack.pl> utility. -Assuming you needed to include a C<gzip> encoded file for a module's test suite, -you might do this as follows using the C<Porting/pack.pl> utility: +Assuming you needed to include a gzip-encoded file for a module's test +suite, you might do this as follows using the F<pack.pl> utility: - $ perl Porting/pack.pl -v -D lib/Some/Module/t/src/t.gz + $ perl pack.pl -v -D lib/Some/Module/t/src/t.gz Writing lib/Some/Module/t/src/t.gz into lib/Some/Module/t/src/t.gz.packed -This will replace the C<t.gz> file with an encoded counterpart. During -C<make test>, before any tests are run, Perls Makefile will restore all the -C<.packed> files mentioned in the C<MANIFEST> to their original name. This -means that the test suite does not need to be aware of this packing scheme and -will not need to be altered. +This will replace the C<t.gz> file with an encoded counterpart. During +C<make test>, before any tests are run, perl's Makefile will restore all +the C<.packed> files mentioned in the MANIFEST to their original name. +This means that the test suite does not need to be aware of this packing +scheme and will not need to be altered. =item Try it yourself |