1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04: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:
Timo Sirainen 2001-07-29 03:56:46 +00:00 committed by cras
parent 478f78acc3
commit 81eb94fa9b

View File

@ -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