From: Michael Smith Date: Sat, 1 Mar 2008 14:24:39 +0000 (+0000) Subject: handle missing VERSION error correctly X-Git-Tag: release/1.79.1~6^2~1482 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24e96e3e921a5f954b71dfd03d6f8292de869d34;p=docbook-dsssl handle missing VERSION error correctly --- diff --git a/contrib/samples/refentry/udev/Makefile b/contrib/samples/refentry/udev/Makefile index 47481ea9a..225fbf6dc 100644 --- a/contrib/samples/refentry/udev/Makefile +++ b/contrib/samples/refentry/udev/Makefile @@ -17,9 +17,8 @@ all: man $(FILE): ifeq ($(VERSION),) - @echo 'See http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/' - @echo 'Specify a VERSION; e.g., "make VERSION=103" to download udev-103.tar.bz2' - @echo + $(warning See http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/) + $(error Specify a VERSION; e.g., "make VERSION=103" to download udev-103.tar.bz2) endif $(FTP) $(FTP_OPTS) "mget -O $(TMP) $(DIR)/$(DOWNLOAD_FILENAME); quit" $(HOST) (cd $(TMP); $(UNTAR) $(UNTAR_OPTS) $(DOWNLOAD_FILENAME))