chiark / gitweb /
fix the PATCHES_DIR deprecation warning
authormartin f. krafft <madduck@debian.org>
Sun, 1 Mar 2009 11:39:29 +0000 (12:39 +0100)
committermartin f. krafft <madduck@debian.org>
Sun, 1 Mar 2009 11:39:29 +0000 (12:39 +0100)
Signed-off-by: martin f. krafft <madduck@debian.org>
debian/tg2quilt.mk

index 2ff9bc9..66e9d41 100644 (file)
@@ -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