From: Ryan Niebur Date: Sat, 1 Aug 2009 05:14:39 +0000 (-0700) Subject: use a variable X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67eb55322809f6715a54c23d4d6bf2b77afa4d5b;p=midori use a variable --- diff --git a/debian/rules b/debian/rules index 4340224e..e1bce2fa 100755 --- a/debian/rules +++ b/debian/rules @@ -16,21 +16,24 @@ override_dh_quilt_patch: test -e midori/midori-debian.h $(CMD) +#WAF=/usr/bin/waf +WAF=./waf + override_dh_auto_clean: - ./waf --nocache distclean + $(WAF) --nocache distclean rm -rf _build_ override_dh_auto_configure: - ./waf --nocache configure --prefix /usr + $(WAF) --nocache configure --prefix /usr override_dh_auto_build: - ./waf --nocache build --debug full + $(WAF) --nocache build --debug full override_dh_auto_test: - xvfb-run ./waf --nocache check + xvfb-run $(WAF) --nocache test override_dh_auto_install: - ./waf --nocache install --destdir debian/tmp + $(WAF) --nocache install --destdir debian/tmp rm -f debian/tmp/usr/share/doc/midori/COPYING debian/tmp/usr/share/doc/midori/TRANSLATE PRIORITY=$(shell sed -r -e '/DEBIAN_WWW_ALTERNATIVES_PRIORITY/ !d' -e 's/.* ([^ ]*)$$/\1/' $(CONFIG_FILE))