From d7979871bc02f59157667f780166441165c52819 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 12 May 2020 07:59:00 -0400 Subject: [PATCH] fix(packaging): fixed condition syntax --- packaging/debian-multiarch/rules | 17 ++++++++--------- packaging/debian/rules | 16 ++++++++-------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/packaging/debian-multiarch/rules b/packaging/debian-multiarch/rules index b4957d895..1cf9635b7 100755 --- a/packaging/debian-multiarch/rules +++ b/packaging/debian-multiarch/rules @@ -5,24 +5,23 @@ export DH_VERBOSE=1 DESTDIR=$(CURDIR)/debian/tmp DIST_CODENAME=$(shell lsb_release -cs) - SAML2_CONFIG=--enable-saml2 -#ifeq ($(DIST_CODENAME), stretch) +ifeq ($(DIST_CODENAME), stretch) MFA_CONFIG=--enable-mfa -#endif +endif -#ifeq ($(DIST_CODENAME), buster) +ifeq ($(DIST_CODENAME), buster) MFA_CONFIG=--enable-mfa -#endif +endif -#ifeq ($(DIST_CODENAME), xenial) +ifeq ($(DIST_CODENAME), xenial) MFA_CONFIG=--enable-mfa -#endif +endif -#ifeq ($(DIST_CODENAME), bionic) +ifeq ($(DIST_CODENAME), bionic) MFA_CONFIG=--enable-mfa -#endif +endif include /etc/GNUstep/GNUstep.conf include /usr/share/GNUstep/Makefiles/common.make diff --git a/packaging/debian/rules b/packaging/debian/rules index d965196f8..ca06babff 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -6,21 +6,21 @@ export DH_VERBOSE=1 DESTDIR=$(CURDIR)/debian/tmp DIST_CODENAME=$(shell lsb_release -cs) -#ifeq ($(DIST_CODENAME), stretch) +ifeq ($(DIST_CODENAME), stretch) MFA_CONFIG=--enable-mfa -#endif +endif -#ifeq ($(DIST_CODENAME), buster) +ifeq ($(DIST_CODENAME), buster) MFA_CONFIG=--enable-mfa -#endif +endif -#ifeq ($(DIST_CODENAME), xenial) +ifeq ($(DIST_CODENAME), xenial) MFA_CONFIG=--enable-mfa -#endif +endif -#ifeq ($(DIST_CODENAME), bionic) +ifeq ($(DIST_CODENAME), bionic) MFA_CONFIG=--enable-mfa -#endif +endif include /etc/GNUstep/GNUstep.conf include /usr/share/GNUstep/Makefiles/common.make