[apparmor] fun when building without awk
Steve Beattie
steve at nxnw.org
Thu Jun 21 18:14:06 UTC 2012
On Wed, Jun 20, 2012 at 06:14:55PM -0700, John Johansen wrote:
> Alright the following patch seems to work for me
>
> ---
>
> === modified file 'common/Make.rules'
> --- common/Make.rules 2012-04-11 16:16:47 +0000
> +++ common/Make.rules 2012-06-21 01:12:44 +0000
> @@ -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
On Thu, Jun 21, 2012 at 01:06:35AM -0700, John Johansen wrote:
> I forgot to mention I am nominating this for 2.8
Acked-By: Steve Beattie <sbeattie at ubuntu.com> for both trunk and 2.8.
Thanks!
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120621/cbc3f66f/attachment.pgp>
More information about the AppArmor
mailing list