chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix the PATCHES_DIR deprecation warning
[topgit.git]
/
debian
/
tg2quilt.mk
diff --git
a/debian/tg2quilt.mk
b/debian/tg2quilt.mk
index 2ff9bc9a754f7cc051143ef3952cecdc8caf7534..66e9d4123ac0ab758c334ebea0e64819f387b308 100644
(file)
--- a/
debian/tg2quilt.mk
+++ b/
debian/tg2quilt.mk
@@
-68,8
+68,10
@@
else
# We are in a TopGit branch, so let the fun begin.
# 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
QUILT_PATCH_DIR := $(PATCHES_DIR)
endif