Skip to content

Commit

Permalink
fix(packaging): fixed condition syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu committed May 12, 2020
1 parent e9cc088 commit d797987
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
17 changes: 8 additions & 9 deletions packaging/debian-multiarch/rules
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions packaging/debian/rules
Expand Up @@ -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
Expand Down

0 comments on commit d797987

Please sign in to comment.