diff options
author | Richard Levitte <levitte@openssl.org> | 2016-05-23 15:49:25 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-05-23 21:48:42 +0200 |
commit | 34f5d44f6a4eb09f4d41041091a20c2bf4bf9bf7 (patch) | |
tree | 1240ae170111fcf874211900b6b3c31e940fc9e9 /apps | |
parent | 35b060fcc994bc019acdfa96f30cf8aa4f41881a (diff) |
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>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/build.info | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/build.info b/apps/build.info index 3baba66feb..6a742cf7cc 100644 --- a/apps/build.info +++ b/apps/build.info @@ -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} -}] PROGRAMS=openssl SOURCE[openssl]=\ @@ -15,7 +17,7 @@ IF[{- !$disabled{apps} -}] INCLUDE[openssl]={- rel2abs(catdir($builddir,"../include")) -} .. ../include DEPEND[openssl]=../libssl - SCRIPTS=CA.pl tsget + SCRIPTS=CA.pl {- $tsget_name -} SOURCE[CA.pl]=CA.pl.in - SOURCE[tsget]=tsget.in + SOURCE[{- $tsget_name -}]=tsget.in ENDIF |