Mercurial > pidgin.yaz
comparison pidgin/plugins/perl/Makefile.am @ 27175:77177e6000e4
Install the Purple and Pidgin perl modules under $libdir instead of in perl's
normal @INC locations. Since they aren't usable by perl directly existing
there just confused people and conflicted with similarly named perl modules.
Thanks Zsombor Welker. Fixes #5428
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Thu, 18 Jun 2009 23:01:51 +0000 |
parents | bcaed4d5522b |
children |
comparison
equal
deleted
inserted
replaced
27174:19cbe3af6167 | 27175:77177e6000e4 |
---|---|
42 srcloc=${srcdir}; \ | 42 srcloc=${srcdir}; \ |
43 case $$srcloc in /*) ;; *) srcloc=../${srcdir} ;; esac; \ | 43 case $$srcloc in /*) ;; *) srcloc=../${srcdir} ;; esac; \ |
44 ${LN_S} -f $$srcloc/$$f $$f; \ | 44 ${LN_S} -f $$srcloc/$$f $$f; \ |
45 done; \ | 45 done; \ |
46 fi | 46 fi |
47 @cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS) | 47 @cd common && $(perlpath) Makefile.PL |
48 | 48 |
49 common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status | 49 common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status |
50 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) | 50 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) |
51 | 51 |
52 all-local: common/Makefile | 52 all-local: common/Makefile |
53 @for dir in $(perl_dirs); do \ | 53 @for dir in $(perl_dirs); do \ |
54 cd $$dir && \ | 54 cd $$dir && \ |
55 if [ ! -f Makefile ]; then \ | 55 if [ ! -f Makefile ]; then \ |
56 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ | 56 $(perlpath) Makefile.PL; \ |
57 fi && \ | 57 fi && \ |
58 ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \ | 58 ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \ |
59 $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \ | 59 $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \ |
60 cd ..; \ | 60 cd ..; \ |
61 done | 61 done |