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, 8 insertions, 1 deletions
diff --git a/palemoon/debian/rules b/palemoon/debian/rules
index 5705c90..2efbbcf 100755
--- a/palemoon/debian/rules
+++ b/palemoon/debian/rules
@@ -4,6 +4,7 @@ export SHELL=/bin/bash
## borrowed from stevepusser's logic
## Build with gcc-8 on Buster (beowulf/ceres)
+## If you enable this, then d/control needs lsb-release as a build dependency.
#distrelease := $(shell lsb_release -cs)
#ifeq ($(distrelease),$(filter $(distrelease),buster beowulf/ceres))
#export CC=gcc-8
@@ -12,6 +13,12 @@ export SHELL=/bin/bash
#export LD=gcc-8
#endif
+export MCFILE=debian/mozconfig
+distrelease := $(shell lsb_release -cs)
+ifeq ($(distrelease),$(filter $(distrelease),sid unstable ceres))
+export MCFILE=debian/mozconfig-unstable
+endif
+
%:
dh $@
@@ -21,7 +28,7 @@ override_dh_auto_clean:
find . -name '*.pyc' -delete
override_dh_auto_configure:
- cp debian/mozconfig mozconfig
+ cp ${MCFILE} mozconfig
override_dh_auto_build:
make -f client.mk build
bgstack15