mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Have build check for presence of awk and fail with a sensible error message
Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-By: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
parent
9fbfa4c7e0
commit
c1c1b229c1
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@
|
|||
DISTRIBUTION=AppArmor
|
||||
VERSION=$(shell cat common/Version)
|
||||
|
||||
AWK:=$(shell which awk)
|
||||
ifndef AWK
|
||||
$(error awk utility required for build but not available)
|
||||
endif
|
||||
|
||||
# OVERRIDABLE variables
|
||||
# Set these variables before including Make.rules to change its behavior
|
||||
# SPECFILE - for packages that have a non-standard specfile name
|
||||
|
|
Loading…
Add table
Reference in a new issue