# HG changeset patch # User Christian Hammond # Date 1062378167 0 # Node ID 25f1f9efa510a8d9e495e6c7dce7e810f4b055d5 # Parent 7e8a70c531a78ac54a65ba7d2ccd23a1718403af [gaim-migrate @ 7194] Most of perl passes make distcheck now. Possibly all, but I have to run another lengthy make distcheck (15th one today I think) to test it. This may not work for all people.. I don't know. Perl did some screwy stuff, and decided to turn off support for make uninstall, which make distcheck is not happy about, so I had to implement Evil Hack (TM). committer: Tailor Script diff -r 7e8a70c531a7 -r 25f1f9efa510 plugins/perl/Makefile.am --- a/plugins/perl/Makefile.am Mon Sep 01 00:11:42 2003 +0000 +++ b/plugins/perl/Makefile.am Mon Sep 01 01:02:47 2003 +0000 @@ -86,6 +86,14 @@ cd ..; \ done +# Evil Hack (TM) +uninstall-local: + @for dir in $(perl_dirs); do \ + cd $$dir && \ + `$(MAKE) uninstall | grep unlink | sed -e 's#/usr#${prefix}#' -e 's#unlink#rm -f#'` && \ + cd ..; \ + done + clean-generic: @for dir in $(perl_dirs); do \ cd $$dir; \ @@ -102,6 +110,16 @@ cd ..; \ done + @rm -f Makefile + @rm -f common/const-c.inc common/const-xs.inc + + @if test "x${top_srcdir}" != "x${top_builddir}"; then \ + for f in ${common_sources}; do \ + ${LN_S} -f ../${srcdir}/$$f $$f; \ + done; \ + fi + + AM_CPPFLAGS = \ -DVERSION=\"$(VERSION)\" \ -I$(top_srcdir) \