mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
* betterer errors on things * Adding tpm-udev as a dependency of kanidm-unixd * fixing makefile arch error * adding jq to deb build deps * adding kanidm deb to autobuild * making the debian build script more resilient
28 lines
1 KiB
Makefile
28 lines
1 KiB
Makefile
ARCH ?= $(shell dpkg --print-architecture)
|
|
|
|
|
|
.DEFAULT: help
|
|
|
|
.PHONY: help
|
|
help:
|
|
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##/\n\t/'
|
|
|
|
.PHONY: debs/kanidm
|
|
debs/kanidm: ## Build the Kanidm CLI package - make sure you set the environment variable KANIDM_BUILD_PROFILE
|
|
debs/kanidm:
|
|
ARCH=$(ARCH) bash ./platform/debian/build_kanidm.sh kanidm
|
|
|
|
.PHONY: debs/kanidmd
|
|
debs/kanidmd: ## Build the Kanidmd package - make sure you set the environment variable KANIDM_BUILD_PROFILE
|
|
debs/kanidmd:
|
|
ARCH=$(ARCH) bash ./platform/debian/build_kanidm.sh kanidmd
|
|
|
|
.PHONY: debs/kanidm-unixd
|
|
debs/kanidm-unixd: ## Build the Kanidm UNIX tools package (PAM/NSS, unixd and related tools) - make sure you set the environment variable KANIDM_BUILD_PROFILE
|
|
debs/kanidm-unixd:
|
|
ARCH=$(ARCH) bash ./platform/debian/build_kanidm.sh kanidm-unixd
|
|
|
|
.PHONY: debs/all
|
|
debs/all: ## Build all the .deb packages - make sure you set the environment variable KANIDM_BUILD_PROFILE
|
|
debs/all: debs/kanidmd debs/kanidm debs/kanidm-unixd
|