From 58b53a7ee85c43d59017a5eacfe559369436bfa9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 1 Mar 2009 12:39:29 +0100 Subject: [PATCH] fix the PATCHES_DIR deprecation warning Signed-off-by: martin f. krafft --- debian/tg2quilt.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.30.2