Add 'make perlmod-install' to ESL (please test)
This commit is contained in:
parent
6908403eb7
commit
06c4217922
|
@ -92,6 +92,9 @@ javamod: $(MYLIB)
|
||||||
managedmod: $(MYLIB)
|
managedmod: $(MYLIB)
|
||||||
$(MAKE) MYLIB="../$(MYLIB)" SOLINK="$(SOLINK)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CXX_CFLAGS="$(CXX_CFLAGS)" -C managed
|
$(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
|
phpmod-install: phpmod
|
||||||
$(MAKE) -C php install
|
$(MAKE) -C php install
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
PERL=$(shell which perl)
|
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_LIBDIR=-L$(shell perl -MConfig -e 'print $$Config{archlib}')/CORE
|
||||||
PERL_LIBS=$(shell perl -MConfig -e 'print $$Config{libs}')
|
PERL_LIBS=$(shell perl -MConfig -e 'print $$Config{libs}')
|
||||||
LOCAL_CFLAGS=-w -DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL
|
LOCAL_CFLAGS=-w -DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL
|
||||||
|
@ -30,3 +31,8 @@ swigclean:
|
||||||
|
|
||||||
reswig: swigclean esl_wrap.cpp perlxsi.c
|
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
|
Loading…
Reference in New Issue