From 06c4217922ae5736daf98717c7c43a90ea768909 Mon Sep 17 00:00:00 2001 From: Michael S Collins Date: Fri, 18 Mar 2011 09:26:03 -0700 Subject: [PATCH] Add 'make perlmod-install' to ESL (please test) --- libs/esl/Makefile | 3 +++ libs/esl/perl/Makefile | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/libs/esl/Makefile b/libs/esl/Makefile index fbc870ac24..7363304cdb 100644 --- a/libs/esl/Makefile +++ b/libs/esl/Makefile @@ -92,6 +92,9 @@ javamod: $(MYLIB) managedmod: $(MYLIB) $(MAKE) MYLIB="../$(MYLIB)" SOLINK="$(SOLINK)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CXX_CFLAGS="$(CXX_CFLAGS)" -C managed +perlmod-install: perlmod + $(MAKE) -C perl install + phpmod-install: phpmod $(MAKE) -C php install diff --git a/libs/esl/perl/Makefile b/libs/esl/perl/Makefile index 058e0d3849..a76e9c5e6d 100644 --- a/libs/esl/perl/Makefile +++ b/libs/esl/perl/Makefile @@ -1,4 +1,5 @@ PERL=$(shell which perl) +PERL_SITEDIR=$(shell perl -MConfig -e 'print $$Config{sitelibexp}') PERL_LIBDIR=-L$(shell perl -MConfig -e 'print $$Config{archlib}')/CORE PERL_LIBS=$(shell perl -MConfig -e 'print $$Config{libs}') LOCAL_CFLAGS=-w -DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL @@ -30,3 +31,8 @@ swigclean: reswig: swigclean esl_wrap.cpp perlxsi.c +install: ESL.so + install -m 755 ESL.so $(PERL_SITEDIR) + install -m 755 ESL.pm $(PERL_SITEDIR) + install -d -m 755 ESL $(PERL_SITEDIR)/ESL + install -m 755 ESL/* $(PERL_SITEDIR)/ESL \ No newline at end of file