diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-29 21:00:32 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-29 21:00:32 +0000 |
commit | 037b88d659e9f3d508c92490dc68052a82a1cbd6 (patch) | |
tree | c60765e81519fbf5a7bbf6292610012985ccf9fc /ext/Encode/bin | |
parent | 69a33259306411b19edf825562273b314da3ed73 (diff) | |
download | perl-037b88d659e9f3d508c92490dc68052a82a1cbd6.tar.gz |
Upgrade to Encode 1.01, from Dan Kogai.
p4raw-id: //depot/perl@15616
Diffstat (limited to 'ext/Encode/bin')
-rw-r--r-- | ext/Encode/bin/enc2xs | 18 | ||||
-rw-r--r-- | ext/Encode/bin/piconv | 2 |
2 files changed, 16 insertions, 4 deletions
diff --git a/ext/Encode/bin/enc2xs b/ext/Encode/bin/enc2xs index 1acb61379e..803c2649f9 100644 --- a/ext/Encode/bin/enc2xs +++ b/ext/Encode/bin/enc2xs @@ -1,12 +1,16 @@ #!../../../perl -w BEGIN { - unshift @INC, qw(../../lib ../../../lib ../../../../lib); - $ENV{PATH} .= ';../..;../../..;../../../..' if $^O eq 'MSWin32'; + # fiddle with @INC iff I am a part of perl dist + if ($^X =~ m/\bminiperl$/o){ + warn "Fixing \@INC for perl core.\n"; + unshift @INC, qw(../../lib ../../../lib ../../../../lib); + $ENV{PATH} .= ';../..;../../..;../../../..' if $^O eq 'MSWin32'; + } } use strict; use Getopt::Std; my @orig_ARGV = @ARGV; -our $VERSION = do { my @r = (q$Revision: 1.0 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; +our $VERSION = do { my @r = (q$Revision: 1.1 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; # These may get re-ordered. @@ -1091,6 +1095,14 @@ The following files are created. My.pm - Encode Submodule t/My.t - test file +=item 1.1. + +If you want *.ucm installed together with the modules, do as follows; + + $ mkdir Encode + $ mv *.ucm Encode + $ enc2xs -M My Encode/*ucm + =item 2. Edit the files generated. You don't have to if you have no time AND no diff --git a/ext/Encode/bin/piconv b/ext/Encode/bin/piconv index ae250ba854..c7f08aec51 100644 --- a/ext/Encode/bin/piconv +++ b/ext/Encode/bin/piconv @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: piconv,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $ +# $Id: piconv,v 1.0 2002/03/28 23:26:28 dankogai Exp $ # use 5.7.3; use strict; |