add some safety checking to the presubj generating

This commit is contained in:
Ryan Niebur 2009-12-24 17:41:06 -08:00
parent c8c273404d
commit 9f5259592d

6
debian/rules vendored
View file

@ -22,6 +22,12 @@ override_dh_quilt_patch:
WAF=./waf WAF=./waf
debian/presubj: debian/presubj.in 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 > $@ sed -e "s,%LIBWEBKIT_PKG%,$(LIBWEBKIT_PKG),g" -e "s,%GTKLAUNCHER%,$(GTKLAUNCHER),g" $@.in > $@
override_dh_install: debian/presubj override_dh_install: debian/presubj