Mercurial > pidgin.yaz
diff pidgin/plugins/perl/Makefile.am @ 22719:bcaed4d5522b
Fix make distcheck (which broke from an earlier fix for make when
building in a different directory). References #5614.
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Sat, 26 Apr 2008 00:43:15 +0000 |
| parents | 0dcd915899ae |
| children | 77177e6000e4 |
line wrap: on
line diff
--- a/pidgin/plugins/perl/Makefile.am Sat Apr 26 00:12:41 2008 +0000 +++ b/pidgin/plugins/perl/Makefile.am Sat Apr 26 00:43:15 2008 +0000 @@ -39,7 +39,9 @@ common/Makefile: common/Makefile.PL @if test "x${top_srcdir}" != "x${top_builddir}"; then \ for f in ${common_sources}; do \ - ${LN_S} -f ../${srcdir}/$$f $$f; \ + srcloc=${srcdir}; \ + case $$srcloc in /*) ;; *) srcloc=../${srcdir} ;; esac; \ + ${LN_S} -f $$srcloc/$$f $$f; \ done; \ fi @cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS)
