Add a 'reconfigure' make target
authorRichard Levitte <levitte@openssl.org>
Mon, 29 Jan 2018 22:17:43 +0000 (23:17 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 30 Jan 2018 11:04:21 +0000 (12:04 +0100)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5197)

Configurations/descrip.mms.tmpl
Configurations/unix-Makefile.tmpl
Configurations/windows-makefile.tmpl
INSTALL

index 8876d3c..7d8b348 100644 (file)
@@ -553,6 +553,9 @@ configdata.pm : $(SRCDIR)Configure $(SRCDIR)config.com {- join(" ", @{$config{bu
         @ WRITE SYS$OUTPUT "*************************************************"
         @ PIPE ( EXIT %X10000000 )
 
+reconfigure reconf:
+       perl configdata.pm -r -v
+
 {-
   use File::Basename;
   use File::Spec::Functions qw/abs2rel rel2abs catfile catdir/;
index 22e5263..3dd66b8 100644 (file)
@@ -793,6 +793,9 @@ configdata.pm: $(SRCDIR)/Configure $(SRCDIR)/config {- join(" ", @{$config{build
        @echo "**************************************************"
        @false
 
+reconfigure reconf:
+       $(PERL) configdata.pm -r -v
+
 {-
   use File::Basename;
   use File::Spec::Functions qw/:DEFAULT abs2rel rel2abs/;
index a14ab23..b135502 100644 (file)
@@ -378,6 +378,9 @@ configdata.pm: "$(SRCDIR)\Configure" {- join(" ", map { '"'.$_.'"' } @{$config{b
        @echo "**************************************************"
        @exit 1
 
+reconfigure reconf:
+       "$(PERL)" configdata.pm -r -v
+
 {-
  use File::Basename;
  use File::Spec::Functions qw/:DEFAULT abs2rel rel2abs/;
diff --git a/INSTALL b/INSTALL
index f8702e4..01b8056 100644 (file)
--- a/INSTALL
+++ b/INSTALL
  uninstall
                 Uninstall all OpenSSL components.
 
+ reconfigure
+ reconf
+                Re-run the configuration process, as exactly as the last time
+                as possible.
+
  update
                 This is a developer option. If you are developing a patch for
                 OpenSSL you may need to use this if you want to update