mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Use INSTALLDIRS=perl option with MakeMaker if perl install directory is
specified. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1674 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
478f78acc3
commit
81eb94fa9b
1 changed files with 15 additions and 2 deletions
|
|
@ -98,12 +98,25 @@ noinst_HEADERS = \
|
|||
perl-signals.h
|
||||
|
||||
all-local:
|
||||
for dir in common irc ui; do cd $$dir && if [ ! -f Makefile ]; then if [ "x$(PERL_LIB_DIR)" = "x" ]; then $(perlpath) Makefile.PL; else $(perlpath) Makefile.PL LIB=$(PERL_LIB_DIR) PREFIX=$(PERL_LIB_DIR); fi; fi && ($(MAKE) || $(MAKE)) && cd ..; done
|
||||
for dir in common irc ui; do \
|
||||
cd $$dir && \
|
||||
if [ ! -f Makefile ]; then \
|
||||
if [ "x$(PERL_LIB_DIR)" = "x" ]; then \
|
||||
$(perlpath) Makefile.PL; \
|
||||
else \
|
||||
$(perlpath) Makefile.PL LIB=$(PERL_LIB_DIR) PREFIX=$(PERL_LIB_DIR) INSTALLDIRS=perl; \
|
||||
fi; \
|
||||
fi && \
|
||||
($(MAKE) || $(MAKE)) && \
|
||||
cd ..; \
|
||||
done
|
||||
|
||||
# FIXME: remove after .99: the libfe_perl must not be used anymore
|
||||
install-exec-local:
|
||||
-(rm -f $(moduledir)/libfe_perl.*)
|
||||
for dir in common irc ui; do cd $$dir && $(MAKE) install && cd ..; done
|
||||
for dir in common irc ui; do \
|
||||
cd $$dir && $(MAKE) install && cd ..; \
|
||||
done
|
||||
|
||||
clean-generic:
|
||||
rm -f common/Irssi.c irc/Irc.c ui/UI.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue