don't repack waf for now

This commit is contained in:
Yves-Alexis Perez 2012-04-14 14:47:18 +02:00
parent 23b89cca6b
commit da4f15e9bb
2 changed files with 11 additions and 14 deletions

2
debian/changelog vendored
View file

@ -8,8 +8,6 @@ midori (0.4.4-1) UNRELEASED; urgency=low
* debian/midori.maintscript:
- handle the /etc/xdg/midori/extensions/libadblock.so removal there.
closes: #660303
* debian/rules:
- rebuild waf script before using it. closes: #645191
-- Yves-Alexis Perez <corsac@debian.org> Thu, 08 Mar 2012 23:42:54 +0100

23
debian/rules vendored
View file

@ -23,16 +23,16 @@ endif
%:
dh $@
WAF=./waf.regen
WAF=./waf
$(WAF): waf
# rebuild the waf script
sed < waf -e '1,/^#==>$$/ d' -e '/^#<==$$/ d' | tr -d '\n' | sed -e 's/.//' -e 's/#[*]/\n/g' -e 's/#%/\r/g' > waf.orig.tar.bz2
(sed -n < waf -e '1,/^#==>$$/ p'; echo REPLACED BY ENCODED TAR.BZ2; sed -n < waf -e '/^#<==$$/ p') > waf.hdr
(sed -n < waf.hdr -e '1,/^#==>$$/ p'; printf '#'; perl -pe < waf.orig.tar.bz2 's/\n/#*/g; s/\r/#%/g;'; echo; sed -n < waf.hdr -e '/^#<==$$/ p') > waf.regen
chmod 755 waf.regen
# ensure both scripts are the same
cmp waf waf.regen && (rm waf.hdr waf.orig.tar.bz2)
#$(WAF): waf
# # rebuild the waf script
# sed < waf -e '1,/^#==>$$/ d' -e '/^#<==$$/ d' | tr -d '\n' | sed -e 's/.//' -e 's/#[*]/\n/g' -e 's/#%/\r/g' > waf.orig.tar.bz2
# (sed -n < waf -e '1,/^#==>$$/ p'; echo REPLACED BY ENCODED TAR.BZ2; sed -n < waf -e '/^#<==$$/ p') > waf.hdr
# (sed -n < waf.hdr -e '1,/^#==>$$/ p'; printf '#'; perl -pe < waf.orig.tar.bz2 's/\n/#*/g; s/\r/#%/g;'; echo; sed -n < waf.hdr -e '/^#<==$$/ p') > waf.regen
# chmod 755 waf.regen
# # ensure both scripts are the same
# cmp waf waf.regen && (rm waf.hdr waf.orig.tar.bz2)
debian/presubj: debian/presubj.in
@echo "presubj parameters:"
@ -46,14 +46,13 @@ debian/presubj: debian/presubj.in
override_dh_install: debian/presubj
$(CMD) --fail-missing
override_dh_auto_clean: $(WAF)
override_dh_auto_clean:
$(WAF) --nocache distclean
rm -rf _build_
rm -rf .waf*
rm -rf .lock-wscript
rm -f $(WAF)
override_dh_auto_configure: $(WAF)
override_dh_auto_configure:
$(WAF) --nocache configure --debug-level=none --prefix /usr
override_dh_auto_build: