aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2018-06-17 01:05:05 +0200
committerMihai Moldovan <ionic@ionic.de>2018-06-17 01:05:05 +0200
commit942ae190ef03c241b9c82830597d1c2bbe361035 (patch)
treed3ba5c048a0d83ccd07055eba8bb0d6bdbff0461 /debian
parent8f73bf7cbe0cdd757159faf6b92cede0a873de13 (diff)
downloadnx-libs-942ae190ef03c241b9c82830597d1c2bbe361035.tar.gz
nx-libs-942ae190ef03c241b9c82830597d1c2bbe361035.tar.bz2
nx-libs-942ae190ef03c241b9c82830597d1c2bbe361035.zip
debian/rules: more Jessie unbreaking, also for dh_auto_{build,install}.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index ccd5f8811..d0ce74dd6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,11 +47,13 @@ override_dh_install:
dh_install --fail-missing
override_dh_auto_install:
- PREFIX=/usr dh_auto_install --no-parallel -Smakefile
+ PREFIX='/usr' dh_auto_install --no-parallel -Smakefile || \
+ PREFIX='/usr' dh_auto_install -Smakefile
override_dh_auto_build:
debian/compat.sh
- PREFIX=/usr dh_auto_build --no-parallel -- CDEBUGFLAGS="$(CPPFLAGS) $(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS='$(filter-out -pie,$(LDFLAGS))'
+ PREFIX='/usr' dh_auto_build --no-parallel -- CDEBUGFLAGS="$(CPPFLAGS) $(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS='$(filter-out -pie,$(LDFLAGS))' || \
+ PREFIX='/usr' dh_auto_build -- CDEBUGFLAGS="$(CPPFLAGS) $(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS='$(filter-out -pie,$(LDFLAGS))'
override_dh_strip:
dh_strip -plibnx-x11-6 --dbg-package=libnx-x11-6-dbg