mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
control: Nodejs is not available on all archs, build server packages only where it is.
This commit is contained in:
8
debian/rules
vendored
8
debian/rules
vendored
@@ -5,7 +5,13 @@
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
ONLY_CLIENT=0
|
||||
# build server only where nodejs is available
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armhf i386 mips mips64el mipsel ppc64 ppc64el s390x))
|
||||
ONLY_CLIENT=0
|
||||
else
|
||||
ONLY_CLIENT=1
|
||||
endif
|
||||
|
||||
DESTDIR=$(CURDIR)/debian/tmp
|
||||
|
||||
export PYTHON=python
|
||||
|
||||
Reference in New Issue
Block a user