diff options
author | B Stack <bgstack15@gmail.com> | 2020-08-04 00:22:50 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-08-04 00:22:50 +0000 |
commit | bff2b4d05d6367f0eda905a5cbe7aabf9b75a2d6 (patch) | |
tree | 416ae51d3dfefe386ad2b4d961b13f23eff68168 /palemoon/debian/rules | |
parent | Merge branch 'lo-tango-bump' into 'master' (diff) | |
parent | use dh_auto_configure for MCFILE (diff) | |
download | stackrpms-bff2b4d05d6367f0eda905a5cbe7aabf9b75a2d6.tar.gz stackrpms-bff2b4d05d6367f0eda905a5cbe7aabf9b75a2d6.tar.bz2 stackrpms-bff2b4d05d6367f0eda905a5cbe7aabf9b75a2d6.zip |
Merge branch 'palemoon-bump' into 'master'
Palemoon 28.11.0
See merge request bgstack15/stackrpms!175
Diffstat (limited to 'palemoon/debian/rules')
-rwxr-xr-x | palemoon/debian/rules | 9 |
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 |