From: martin f. krafft Date: Sun, 1 Mar 2009 11:39:29 +0000 (+0100) Subject: fix the PATCHES_DIR deprecation warning X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=58b53a7ee85c43d59017a5eacfe559369436bfa9;p=topgit.git fix the PATCHES_DIR deprecation warning Signed-off-by: martin f. krafft --- diff --git a/debian/tg2quilt.mk b/debian/tg2quilt.mk index 2ff9bc9..66e9d41 100644 --- a/debian/tg2quilt.mk +++ b/debian/tg2quilt.mk @@ -68,8 +68,10 @@ else # We are in a TopGit branch, so let the fun begin. -ifdef (PATCHES_DIR) - @echo 'W: The $PATCHES_DIR variable is deprecated, please use $QUILT_PATCH_DIR instead' >&2 +ifdef PATCHES_DIR + DUMMY := $(warning W: The $$PATCHES_DIR variable is deprecated, please use $$QUILT_PATCH_DIR instead.) + DUMMY := $(warning W: Sleeping for 10 seconds so you can read this!) + DUMMY := $(shell sleep 10) QUILT_PATCH_DIR := $(PATCHES_DIR) endif