aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Leich <email@froggs.de>2015-03-23 21:06:30 +0100
committerTobias Leich <email@froggs.de>2015-03-23 21:06:30 +0100
commit3df9a6fc4419887ec530a4353f5e00c85cbe3cbd (patch)
treeb7bf1e131dc2e362812ce9dd68a1c80258163d53
parent143239c45ec1ab9abe7e8428f7edab1b0f658fb6 (diff)
install panda's state and projects list
We do that so one can query what is installed by doing: panda --installed list This also prevents panda to refetch and rebuild already installed stuff, which can even break because the module in the ecosystem might already have changed, triggered by a rakudo compiler change.
-rw-r--r--tools/build/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/build/Makefile.in b/tools/build/Makefile.in
index 4b6759d..0dd1735 100644
--- a/tools/build/Makefile.in
+++ b/tools/build/Makefile.in
@@ -61,6 +61,9 @@ modules-install-j:
@echo "== Installing binaries for JVM"
$(PERL) tools/build/bin-install.pl $(PERL6_J_INSTALL) $(DESTDIR)$(JVM_BIN_DIR) j modules/ufo/bin/ufo modules/panda/bin/panda modules/doc/bin/p6doc
$(PERL) tools/build/bin-install.pl $(PERL6_J_INSTALL) $(DESTDIR)$(JVM_BIN_DIR) j modules/ufo/bin/ufo modules/panda/bin/panda modules/doc/bin/p6doc-index
+ $(MKPATH) $(DESTDIR)$(PERL6_J_LANG_DIR)/site/panda/
+ $(CP) install/languages/perl6/site/panda/projects.json $(DESTDIR)$(PERL6_J_LANG_DIR)/site/panda/
+ $(CP) install/languages/perl6/site/panda/state $(DESTDIR)$(PERL6_J_LANG_DIR)/site/panda/
modules-install-m:
@echo "== Installing modules for MoarVM"
@@ -68,6 +71,9 @@ modules-install-m:
@echo "== Installing binaries for MoarVM"
$(PERL) tools/build/bin-install.pl $(PERL6_M_INSTALL) $(DESTDIR)$(MOAR_BIN_DIR) m modules/ufo/bin/ufo modules/panda/bin/panda modules/doc/bin/p6doc
$(PERL) tools/build/bin-install.pl $(PERL6_M_INSTALL) $(DESTDIR)$(MOAR_BIN_DIR) m modules/ufo/bin/ufo modules/panda/bin/panda modules/doc/bin/p6doc-index
+ $(MKPATH) $(DESTDIR)$(PERL6_M_LANG_DIR)/site/panda/
+ $(CP) install/languages/perl6/site/panda/projects.json $(DESTDIR)$(PERL6_M_LANG_DIR)/site/panda/
+ $(CP) install/languages/perl6/site/panda/state $(DESTDIR)$(PERL6_M_LANG_DIR)/site/panda/
modules-test: @backend_modules_test@
verbose-modules-test: @backend_modules_test@