From 9f5259592d3628d67bd4832c8c80696a44d8e3e8 Mon Sep 17 00:00:00 2001 From: Ryan Niebur Date: Thu, 24 Dec 2009 17:41:06 -0800 Subject: [PATCH] add some safety checking to the presubj generating --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index 44ea79ee..5476a35a 100755 --- a/debian/rules +++ b/debian/rules @@ -22,6 +22,12 @@ override_dh_quilt_patch: WAF=./waf debian/presubj: debian/presubj.in + @echo "presubj parameters:" + @echo "Replacing %LIBWEBKIT_PKG% with $(LIBWEBKIT_PKG)" + @echo "Replacing %GTKLAUNCHER% with $(GTKLAUNCHER)" + test -f "/var/lib/dpkg/info/$(LIBWEBKIT_PKG).list" + test -f "$(GTKLAUNCHER)" + test -n "$(GTKLAUNCHER)" sed -e "s,%LIBWEBKIT_PKG%,$(LIBWEBKIT_PKG),g" -e "s,%GTKLAUNCHER%,$(GTKLAUNCHER),g" $@.in > $@ override_dh_install: debian/presubj