add some safety checking to the presubj generating
This commit is contained in:
parent
c8c273404d
commit
9f5259592d
1 changed files with 6 additions and 0 deletions
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue