aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpmichaud <pmichaud@pobox.com>2012-08-31 15:09:27 -0500
committerpmichaud <pmichaud@pobox.com>2012-08-31 15:09:27 -0500
commitf28d3a8b51653eaafb3a15cab878bb6b019df0a9 (patch)
tree5ef4dbdf1e07b33876a874988aad63b0e552c977
parentc4268e0178cf1e789a92efc1b6167d146247fc6f (diff)
Add a perl6-debug target to the Makefile.
-rw-r--r--tools/build/Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/build/Makefile.in b/tools/build/Makefile.in
index f2c2200..ecf4c0c 100644
--- a/tools/build/Makefile.in
+++ b/tools/build/Makefile.in
@@ -81,6 +81,11 @@ modules-install: rakudo-install
@echo "== Installing binaries"
$(PERL) tools/build/bin-install.pl $(DESTDIR)$(PERL6_INSTALL) $(DESTDIR)$(PARROT_BIN_DIR) modules/ufo/bin/ufo modules/panda/bin/panda
+modules-test:
+ $(PERL) tools/build/modules-test.pl $(CURDIR) $(DESTDIR)$(PERL6_INSTALL) modules/MODULES.txt
+
+perl6-debug: $(RD_EXE)
+
$(RD_EXE): modules-install
$(NQP_EXE) --vmlibs=perl6_group,perl6_ops --target=pir \
--output=$(RD_PIR) $(RD_DIR)/bin/perl6-debug.nqp
@@ -88,10 +93,7 @@ $(RD_EXE): modules-install
$(PBC_TO_EXE) $(RD_PBC)
$(CHMOD) 755 $(RD_EXE)
-modules-test:
- $(PERL) tools/build/modules-test.pl $(CURDIR) $(DESTDIR)$(PERL6_INSTALL) modules/MODULES.txt
-
-perl6-debug-install: $(RD_EXE)
+perl6-debug-install: perl6-debug
$(CP) $(RD_EXE) $(DESTDIR)$(PARROT_BIN_DIR)
$(CHMOD) 755 $(DESTDIR)$(PARROT_BIN_DIR)/perl6-debug$(EXE)