blob: 7a68fcd0962864e96f06a794191bbb454ac4a252 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/usr/bin/make -f
# -*- makefile -*-
export SHELL=/bin/bash
%:
dh $@ --without autoreconf
override_dh_auto_clean:
rm -f .mozconfig
dh_auto_clean
find . -name '*.pyc' -delete
override_dh_auto_configure:
cp debian/mozconfig mozconfig
override_dh_auto_build:
./mach build
override_dh_auto_install:
chmod +x $$(pwd)/debian/waterfox-bin.sh
DESTDIR=$$(pwd)/debian/waterfox ./mach install
#mv $$(pwd)/debian/usr/bin/waterfox-classic $$(pwd)/debian/usr/bin/waterfox || :
mv $$(pwd)/debian/waterfox/usr/lib/waterfox/browser/features/ $$(pwd)
rm -rf $$(pwd)/debian/waterfox/usr/lib/waterfox/waterfox-classic-bin
rm -rf $$(pwd)/debian/waterfox/usr/lib/waterfox/dictionaries
override_dh_shlibdeps:
dh_shlibdeps -l /usr/lib/waterfox/waterfox
override_dh_strip_nondeterminism:
dh_strip_nondeterminism -Xdebian/waterfox/usr/lib/waterfox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
override_dh_builddeb:
dh_builddeb -- -Z xz
|