Make sure tsget and c_rehash are named with .pl suffix on Windows and VMS
Especially on Windows, the .pl suffix is associated with the perl interpreter, and therefore make those scripts usable as commands of their own. On VMS, it simply looks better. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
35b060fcc9
commit
34f5d44f6a
2 changed files with 10 additions and 5 deletions
|
@ -1,4 +1,6 @@
|
||||||
{- use File::Spec::Functions qw/catdir rel2abs/; -}
|
{- use File::Spec::Functions qw/catdir rel2abs/;
|
||||||
|
our $tsget_name = $config{target} =~ /^(VC|vms)-/ ? "tsget.pl" : "tsget";
|
||||||
|
"" -}
|
||||||
IF[{- !$disabled{apps} -}]
|
IF[{- !$disabled{apps} -}]
|
||||||
PROGRAMS=openssl
|
PROGRAMS=openssl
|
||||||
SOURCE[openssl]=\
|
SOURCE[openssl]=\
|
||||||
|
@ -15,7 +17,7 @@ IF[{- !$disabled{apps} -}]
|
||||||
INCLUDE[openssl]={- rel2abs(catdir($builddir,"../include")) -} .. ../include
|
INCLUDE[openssl]={- rel2abs(catdir($builddir,"../include")) -} .. ../include
|
||||||
DEPEND[openssl]=../libssl
|
DEPEND[openssl]=../libssl
|
||||||
|
|
||||||
SCRIPTS=CA.pl tsget
|
SCRIPTS=CA.pl {- $tsget_name -}
|
||||||
SOURCE[CA.pl]=CA.pl.in
|
SOURCE[CA.pl]=CA.pl.in
|
||||||
SOURCE[tsget]=tsget.in
|
SOURCE[{- $tsget_name -}]=tsget.in
|
||||||
ENDIF
|
ENDIF
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
|
{- our $c_rehash_name =
|
||||||
|
$config{target} =~ /^(VC|vms)-/ ? "c_rehash.pl" : "c_rehash";
|
||||||
|
"" -}
|
||||||
IF[{- !$disabled{apps} -}]
|
IF[{- !$disabled{apps} -}]
|
||||||
SCRIPTS=c_rehash
|
SCRIPTS={- $c_rehash_name -}
|
||||||
SOURCE[c_rehash]=c_rehash.in
|
SOURCE[{- $c_rehash_name -}]=c_rehash.in
|
||||||
ENDIF
|
ENDIF
|
||||||
|
|
Loading…
Reference in a new issue