Install caModuleDirs.pm into bin/<host>

Adjust capr.pl to use it from there.
Host arch's may use different absolute paths to the same Base directory,
so they can't share a single copy of that module.
This commit is contained in:
Andrew Johnson
2017-12-06 22:22:26 -06:00
parent 7a6fff0334
commit ee10014a62
2 changed files with 3 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ ifeq ($(findstring $(OS_CLASS),WIN32 cygwin32),) # Doesn't build on WIN32
PERL_MODULES += CA.pm
PERL_MODULES += $(PERL_ARCHPATH)/$(LOADABLE_SHRLIB_PREFIX)Cap5$(LOADABLE_SHRLIB_SUFFIX)
PERL_MODULES += caModuleDirs.pm
PERL_SCRIPTS += caModuleDirs.pm
HTMLS_DIR = .
HTMLS = CA.html

View File

@@ -10,8 +10,9 @@
use strict;
use FindBin qw($Bin);
use lib "$Bin/../../lib/perl";
use lib ($Bin, "$Bin/../../lib/perl");
use caModuleDirs;
no lib $Bin;
use Getopt::Std;
use EPICS::Path;