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 8876d3c2d64367c116ed10ed9f8efa1f5e3d26d7..7d8b34868769a4a15ee88566f5b298557d37baa6 100644 (file)
@@ -553,6 +553,9 @@ configdata.pm : $(SRCDIR)Configure $(SRCDIR)config.com {- join(" ", @{$config{bu
         @ WRITE SYS$OUTPUT "*************************************************"
         @ PIPE ( EXIT %X10000000 )
 
         @ 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/;
 {-
   use File::Basename;
   use File::Spec::Functions qw/abs2rel rel2abs catfile catdir/;
index 22e52634d14860a94ae1537599f7103981ba4b7c..3dd66b8baa3383af67bd9600974676c334ee2705 100644 (file)
@@ -793,6 +793,9 @@ configdata.pm: $(SRCDIR)/Configure $(SRCDIR)/config {- join(" ", @{$config{build
        @echo "**************************************************"
        @false
 
        @echo "**************************************************"
        @false
 
+reconfigure reconf:
+       $(PERL) configdata.pm -r -v
+
 {-
   use File::Basename;
   use File::Spec::Functions qw/:DEFAULT abs2rel rel2abs/;
 {-
   use File::Basename;
   use File::Spec::Functions qw/:DEFAULT abs2rel rel2abs/;
index a14ab23ef9cb0a82bb28bcbce73eeb6e5a66bf9a..b135502c526afe66c02961ce6445b522a6f5c62f 100644 (file)
@@ -378,6 +378,9 @@ configdata.pm: "$(SRCDIR)\Configure" {- join(" ", map { '"'.$_.'"' } @{$config{b
        @echo "**************************************************"
        @exit 1
 
        @echo "**************************************************"
        @exit 1
 
+reconfigure reconf:
+       "$(PERL)" configdata.pm -r -v
+
 {-
  use File::Basename;
  use File::Spec::Functions qw/:DEFAULT abs2rel rel2abs/;
 {-
  use File::Basename;
  use File::Spec::Functions qw/:DEFAULT abs2rel rel2abs/;
diff --git a/INSTALL b/INSTALL
index f8702e44a36607201454aa781f0e08f93e3ded3d..01b8056dd060e135fed8778ff6ccd9cc58955b46 100644 (file)
--- a/INSTALL
+++ b/INSTALL
  uninstall
                 Uninstall all OpenSSL components.
 
  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
  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