mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
chore(debian): fix rules for MFA
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user