]> spindle.queued.net Git - midori/commitdiff
add some safety checking to the presubj generating
authorRyan Niebur <ryanryan52@gmail.com>
Fri, 25 Dec 2009 01:41:06 +0000 (17:41 -0800)
committerRyan Niebur <ryanryan52@gmail.com>
Fri, 25 Dec 2009 01:41:06 +0000 (17:41 -0800)
debian/rules

index 44ea79ee2ea4a126dac6cfec3d38f0b0f0289ec7..5476a35a7eaa3974f858da79be1d9fae75320295 100755 (executable)
@@ -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