Subject: Re: [bug#29161] [PATCH core-updates] build-system/gnu: Add 'install-license-files' phase.

From: [email-masked] (Ludovic Courtès)
Date: Wed, 08 Nov 2017 22:46:43 +0100

Hey,

[email-masked] (Ludovic Courtès) skribis:

>>>From bcdfb1a89b82c9c10e80f1a5d6aadc0620e81156 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <[email-masked]>
> Date: Sun, 5 Nov 2017 21:32:02 +0100
> Subject: [PATCH] build-system/gnu: Add 'install-license-files' phase.
>
> Suggested by Dave Love <[email-masked]>.
>
> * guix/build-system/gnu.scm (%license-file-regexp): New variable.
> (gnu-build): Add #:license-file-regexp and use it.
> (gnu-cross-build): Likewise.
> * guix/build/gnu-build-system.scm (%license-file-regexp): New variable.
> (install-license-files): New procedure.
> (%standard-phases): Add it.

I went ahead and pushed this with a tiny fix that Ricardo suggested on
IRC.

Ludo’.