[Jifty-commit] r5793 - jifty/trunk
Jifty commits
jifty-commit at lists.jifty.org
Thu Sep 4 12:15:16 EDT 2008
Author: yves
Date: Thu Sep 4 12:15:15 2008
New Revision: 5793
Modified:
jifty/trunk/Makefile.PL
Log:
* INSTALLDIRS need to be set in ENV, default to site
* DESTDIR and PREFIX are needed
Modified: jifty/trunk/Makefile.PL
==============================================================================
--- jifty/trunk/Makefile.PL (original)
+++ jifty/trunk/Makefile.PL Thu Sep 4 12:15:15 2008
@@ -219,7 +219,7 @@
die unless -d "plugins/$_";
# install_share("plugins/$_/share");
chdir("plugins/$_");
- system("$^X -I../../lib Makefile.PL INSTALLDIRS=$(INSTALLDIRS)");
+ system("$^X -I../../lib Makefile.PL INSTALLDIRS=".$ENV{INSTALLDIRS});
chdir('../..');
}
@@ -227,7 +227,7 @@
postamble(<<"END");
install ::
-@{[ join("\n", map { "\tcd plugins/$_; make install" } @plugins) ]}
+@{[ join("\n", map { "\tcd plugins/$_; make install".' DESTDIR=$(DESTDIR) PREFIX=$(PREFIX)' } @plugins) ]}
END
More information about the Jifty-commit
mailing list