summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@isc.org>2012-11-20 11:00:17 +0100
committerMukund Sivaraman <muks@isc.org>2012-11-20 11:00:17 +0100
commit3d36fed3067cec991af53e2588220c7259021ce5 (patch)
treef9bb6c761b1b0ca7a65539d0ccde3a78abded2c2
parent[2451] Update the guide too about services in default config (diff)
downloadkea-3d36fed3067cec991af53e2588220c7259021ce5.tar.xz
kea-3d36fed3067cec991af53e2588220c7259021ce5.zip
[2421] Print a message (when running make install) about default services
There isn't a portable way (across automake versions) of printing something right at the end of `make install`. So we use the portable install-exec-hook and display the message in yellow color so that the user notices it. echo -e may not be portable, so we continue even if it fails.
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2f3ce85204..fe995a7b8d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,6 +20,13 @@ dist_doc_DATA = AUTHORS COPYING ChangeLog README
.PHONY: check-valgrind check-valgrind-suppress
+install-exec-hook:
+ -@echo -e "\033[1;33m" # switch to yellow color text
+ @echo "NOTE: BIND 10 does not automatically start DNS services when it is run"
+ @echo " in its default configuration. Please see the Guide for information"
+ @echo " on how to configure these services to be started automatically."
+ -@echo -e "\033[m" # switch back to normal
+
check-valgrind:
if HAVE_VALGRIND
@VALGRIND_COMMAND="$(VALGRIND) -q --gen-suppressions=all --track-origins=yes --num-callers=48 --leak-check=full --fullpath-after=" \