Install bldEnvData.pl and libcomModuleDirs.pm

Fixes last night's breakage.

Installation is needed so bldEnvData.pl can find libcomModuleDirs.pm
and hence the EPICS::Path and EPICS::Release modules while doing
cross-builds. We'll need it to be installed eventually anyway so
support modules can add their own environment parameters.
This commit is contained in:
Andrew Johnson
2017-12-07 11:00:23 -06:00
parent 90de8efd54
commit f904df2c7f
3 changed files with 11 additions and 6 deletions
+5
View File
@@ -9,6 +9,11 @@
SRC_DIRS += $(LIBCOM)/env
vpath %.pl $(USR_VPATH) $(SRC_DIRS)
PERL_SCRIPTS += bldEnvData.pl
PERL_SCRIPTS += libcomModuleDirs.pm
INC += envDefs.h
Com_SRCS += envSubr.c
+3 -3
View File
@@ -7,8 +7,8 @@
# This is a Makefile fragment, see src/libCom/Makefile.
envData.c: $(LIBCOM)/env/envDefs.h $(LIBCOM)/env/bldEnvData.pl \
libcomModuleDirs.pm $(CONFIG)/CONFIG_ENV $(CONFIG)/CONFIG_SITE_ENV \
envData.c: $(LIBCOM)/env/envDefs.h $(TOOLS)/bldEnvData.pl \
$(CONFIG)/CONFIG_ENV $(CONFIG)/CONFIG_SITE_ENV \
$(wildcard $(CONFIG)/os/CONFIG_SITE_ENV.$(T_A))
$(PERL) $(LIBCOM)/env/bldEnvData.pl $(QUIET_FLAG) -t $(T_A) \
$(PERL) $(TOOLS)/bldEnvData.pl $(QUIET_FLAG) -t $(T_A) \
-c $(CMPLR_CLASS) -s $(OS_CLASS) $(CONFIG)
+3 -3
View File
@@ -13,10 +13,10 @@
use strict;
# This program is never installed. It uses lib '.' for the path to
# libcomModuleDirs.pm which then sets the path to the EPICS modules.
use lib '.';
use FindBin qw($Bin);
use lib ($Bin, "$Bin/../../lib/perl");
use libcomModuleDirs;
no lib $Bin;
use Getopt::Std;
use File::Basename;