From 5f274b46fd71e0b80063b0ddd9ed9d68dc66aefd Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 1 Mar 2008 14:34:05 +0000 Subject: [PATCH] fail properly if VERSION not set --- contrib/samples/refentry/bind9/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/samples/refentry/bind9/Makefile b/contrib/samples/refentry/bind9/Makefile index c7649d90c..93a878052 100644 --- a/contrib/samples/refentry/bind9/Makefile +++ b/contrib/samples/refentry/bind9/Makefile @@ -17,8 +17,8 @@ all: man $(FILE): ifeq ($(VERSION),) - @echo 'See http://ftp.isc.org/isc/bind9/' - @echo 'Specify a VERSION; e.g., "make VERSION=9.4.0b2" to download 9.4.0b2' + $(warning See http://ftp.isc.org/isc/bind9/) + $(error Specify a VERSION; e.g., "make VERSION=9.4.0b2" to download 9.4.0b2) @echo endif (cd $(TMP); $(WGET) $(WGETFLAGS) $(BASEURL)/$(SUBDIR)/$(DOWNLOAD_FILENAME)) -- 2.40.0