chore(debian): fix rules for MFA

This commit is contained in:
Francis Lachapelle
2020-05-08 09:15:43 -04:00
parent e8f0471bcf
commit 312817b7ae
2 changed files with 18 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ export DH_VERBOSE=1
# export DH_OPTIONS="-p sogo"
DESTDIR=$(CURDIR)/debian/tmp
DIST_CODENAME=$(shell lsb_release -cs)
SAML2_CONFIG=--enable-saml2

View File

@@ -10,12 +10,28 @@ DIST_CODENAME=$(shell lsb_release -cs)
SAML2_CONFIG=--enable-saml2
#endif
#ifeq ($(DIST_CODENAME), stretch)
MFA_CONFIG=--enable-mfa
#endif
#ifeq ($(DIST_CODENAME), buster)
MFA_CONFIG=--enable-mfa
#endif
#ifeq ($(DIST_CODENAME), xenial)
MFA_CONFIG=--enable-mfa
#endif
#ifeq ($(DIST_CODENAME), bionic)
MFA_CONFIG=--enable-mfa
#endif
include /etc/GNUstep/GNUstep.conf
include /usr/share/GNUstep/Makefiles/common.make
config.make: configure
dh_testdir
./configure $(SAML2_CONFIG)
./configure $(SAML2_CONFIG) $(MFA_CONFIG)
#Architecture
build: build-arch