Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[config] Enable make reconfig. RT #58034

git-svn-id: https://svn.parrot.org/parrot/trunk@36480 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
commit 8963c6e59cd80b679d16314ef36c86ee69de320f 1 parent 3242181
@rurban rurban authored
Showing with 6 additions and 2 deletions.
  1. +2 −0  Configure.pl
  2. +4 −2 config/gen/makefiles/root.in
View
2  Configure.pl
@@ -63,6 +63,8 @@
# from Parrot::Configure::Data
$conf->options->set( %{$args} );
+# save the command-line for make reconfig
+$conf->data->set(configure_args => '"'.join("\" \"", map {qq($_)} @ARGV).'"');
# Log files created by Configure.pl in MANIFEST.configure.generated
$conf->{active_configuration} = 1;
View
6 config/gen/makefiles/root.in
@@ -20,6 +20,8 @@ DEVEL = @DEVEL@
VERSION = @VERSION@$(DEVEL)
SOVERSION = @VERSION@
+CONFIG_ARGS = @configure_args@
+
# Override at least PREFIX with the install location if you're going
# to be using this outside of your build area.
BUILDPREFIX =
@@ -1743,8 +1745,8 @@ distclean : realclean
svnclobber : .svn
$(PERL) tools/dev/svnclobber.pl
-reconfig : clean
- $(PERL) Configure.pl
+reconfig : realclean
+ $(PERL) Configure.pl $(CONFIG_ARGS)
manitest :
$(PERL) tools/dev/manicheck.pl

0 comments on commit 8963c6e

Please sign in to comment.
Something went wrong with that request. Please try again.