[Jifty-commit] r5836 - jifty/trunk
Jifty commits
jifty-commit at lists.jifty.org
Sun Sep 14 09:15:27 EDT 2008
Author: yves
Date: Sun Sep 14 09:15:26 2008
New Revision: 5836
Modified:
jifty/trunk/Makefile.PL
Log:
Take care, I'm not very happy of this change in Makefile.PL
blib is skipped ! and tests use lib/ and plugins/*/lib
We certainly need a better way to make tests on plugins. Maybe something arround pm_to_blib ?
Modified: jifty/trunk/Makefile.PL
==============================================================================
--- jifty/trunk/Makefile.PL (original)
+++ jifty/trunk/Makefile.PL Sun Sep 14 09:15:26 2008
@@ -201,8 +201,6 @@
# ls plugins -> Authentication-CAS Authentication-Ldap Multipage TabView
my @plugins = defined $ENV{JIFTY_PLUGINS} ? split(/ /, $ENV{JIFTY_PLUGINS}) : qw(TabView);
-# Test all of our sub-dist tests too
-tests(join(' ', qw(t/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t), map { "plugins/$_/t/*.t"} @plugins));
for (@plugins) {
@@ -225,7 +223,14 @@
realclean ::
@{[ join("\n", map { "\tcd plugins/$_;".' $(MAKE) realclean' } @plugins) ]}
+INST_LIB= lib/
+
+INST_ARCHLIB= @{[ join("','", map { "plugins/$_/lib"} @plugins) ]}
+
END
+# Test all of our sub-dist tests too
+tests(join(' ', qw(t/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t), map { "plugins/$_/t/*.t"} @plugins));
+
WriteAll;
More information about the Jifty-commit
mailing list