fix(packaging): fixed condition syntax

This commit is contained in:
Ludovic Marcotte
2020-05-12 07:59:00 -04:00
parent e9cc088153
commit d7979871bc
2 changed files with 16 additions and 17 deletions

View File

@@ -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

View File

@@ -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