From a8ac45b19ebb3006ced49b46342e01632829cef2 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Sat, 4 Jul 2015 12:27:26 +0300 Subject: build: Generate 'AUTHORS'. * build-aux/generate-authors.scm: New file. * Makefile.am (gen-AUTHORS): New target. (dist-hook, .PHONY): Add it. --- Makefile.am | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cc0b135de6..44d3b09a82 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,7 @@ # GNU Guix --- Functional package management for GNU # Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès # Copyright © 2013 Andreas Enge +# Copyright © 2015 Alex Kost # # This file is part of GNU Guix. # @@ -363,7 +364,9 @@ guix-binary.%.tar.xz: "$(top_srcdir)/build-aux/make-binary-tarball.scm" "$*" "$@" -dist-hook: sync-descriptions gen-ChangeLog assert-no-store-file-names +dist-hook: sync-descriptions gen-ChangeLog gen-AUTHORS +dist-hook: assert-no-store-file-names + distcheck-hook: assert-binaries-available assert-final-inputs-self-contained sync-descriptions: @@ -378,6 +381,11 @@ gen-ChangeLog: mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi +gen-AUTHORS: + $(top_builddir)/pre-inst-env "$(GUILE)" \ + "$(top_srcdir)/build-aux/generate-authors.scm" \ + "$(top_srcdir)" "$(distdir)/AUTHORS" + # Make sure we're not shipping a file that embeds a local /gnu/store file name. assert-no-store-file-names: if grep -r --exclude=*.texi --exclude=*.info \ @@ -397,6 +405,6 @@ assert-final-inputs-self-contained: $(top_builddir)/pre-inst-env "$(GUILE)" \ "$(top_srcdir)/build-aux/check-final-inputs-self-contained.scm" -.PHONY: sync-descriptions gen-ChangeLog clean-go +.PHONY: sync-descriptions gen-ChangeLog gen-AUTHORS clean-go .PHONY: assert-no-store-file-names assert-binaries-available .PHONY: assert-final-inputs-self-contained -- cgit 1.4.1