From bf01fbbf31a6a99e3eb60b70e05cd78d728421c7 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 29 Jan 2018 23:17:43 +0100 Subject: [PATCH] Add a 'reconfigure' make target Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/5197) --- Configurations/descrip.mms.tmpl | 3 +++ Configurations/unix-Makefile.tmpl | 3 +++ Configurations/windows-makefile.tmpl | 3 +++ INSTALL | 5 +++++ 4 files changed, 14 insertions(+) diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index 8876d3c2d6..7d8b348687 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -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/; diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 22e52634d1..3dd66b8baa 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -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/; diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index a14ab23ef9..b135502c52 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -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 f8702e44a3..01b8056dd0 100644 --- a/INSTALL +++ b/INSTALL @@ -1039,6 +1039,11 @@ 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 -- 2.25.1