summaryrefslogtreecommitdiff
path: root/palemoon/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'palemoon/debian/rules')
-rwxr-xr-xpalemoon/debian/rules9
1 files changed, 6 insertions, 3 deletions
diff --git a/palemoon/debian/rules b/palemoon/debian/rules
index d970f5e..0a5c388 100755
--- a/palemoon/debian/rules
+++ b/palemoon/debian/rules
@@ -13,6 +13,12 @@ export SHELL=/bin/bash
#export LD=gcc-8
#endif
+export MOZCONFIG=debian/mozconfig
+distrelease := $(shell lsb_release -cs)
+ifeq ($(distrelease),$(filter $(distrelease),sid unstable ceres))
+export MOZCONFIG=debian/mozconfig-unstable
+endif
+
%:
dh $@
@@ -21,9 +27,6 @@ override_dh_auto_clean:
dh_auto_clean
find . -name '*.pyc' -delete
-override_dh_auto_configure:
- cp debian/mozconfig mozconfig
-
override_dh_auto_build:
make -f client.mk build
bgstack15