summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-13 04:02:08 +0200
committerHaru <haru@dotalux.com>2015-08-13 04:35:35 +0200
commit7c67e4fb602368f67a9f64377d2702c356c23b75 (patch)
treeb175f732bf0cc2a83186cf1f586a945c81de6a1d
parent1b4d33767fde9c55aa2e32f1a313688dc48a6ad4 (diff)
downloadhercules-7c67e4fb602368f67a9f64377d2702c356c23b75.tar.gz
hercules-7c67e4fb602368f67a9f64377d2702c356c23b75.tar.bz2
hercules-7c67e4fb602368f67a9f64377d2702c356c23b75.tar.xz
hercules-7c67e4fb602368f67a9f64377d2702c356c23b75.zip
Automatically run ./config.status --recheck when necessary
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c91a77c6f..d2877c6b0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -146,7 +146,7 @@ clean buildclean: $(MF_TARGETS)
distclean: clean
@-rm -f $(MF_TARGETS) config.status config.log
-sysinfo:
+sysinfo: config.status
@./sysinfogen.sh src/common/sysinfo_new.inc @CFLAGS@ @CPPFLAGS@
@if cmp -s src/common/sysinfo.inc src/common/sysinfo_new.inc; then \
rm src/common/sysinfo_new.inc ; \
@@ -154,6 +154,10 @@ sysinfo:
mv src/common/sysinfo_new.inc src/common/sysinfo.inc ; \
fi
+config.status: configure
+ @echo " RECONFIGURE"
+ @./config.status --recheck
+
help: Makefile
@echo "most common targets are 'all' 'sql' 'clean' 'plugins' 'help'"
@echo "possible targets are:"