diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-05-18 16:21:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-05-18 16:24:02 +0200 |
commit | 920803fbf443f7e40ed299f433255f10a4ae9fb3 (patch) | |
tree | fa7efbcbdadee16fd75a57b6f2164df3dbb6359c /Makefile.am | |
parent | 266d281d253ffd20336f837fc64a64a14eb44b12 (diff) | |
download | patches-920803fbf443f7e40ed299f433255f10a4ae9fb3.tar patches-920803fbf443f7e40ed299f433255f10a4ae9fb3.tar.gz |
maint: Add 'update-NEWS' target.
* build-aux/update-NEWS.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(GUIX_MAINTENANCE_DIRECTORY): New variable.
(update-NEWS): New target.
(.PHONY): Add it.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 5bfc9ca88c..e1c7cdd7fa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -420,6 +420,7 @@ EXTRA_DIST = \ build-aux/generate-authors.scm \ build-aux/test-driver.scm \ build-aux/update-guix-package.scm \ + build-aux/update-NEWS.scm \ build-aux/run-system-tests.scm \ d3.v3.js \ graph.js \ @@ -641,6 +642,15 @@ update-guix-package: $(top_srcdir)/build-aux/update-guix-package.scm \ "`git rev-parse HEAD`" +# Location of a checkout of <git://git.savannah.gnu.org/guix/maintenance.git>. +# Package data from this checkout is used by 'update-NEWS.scm'. +GUIX_MAINTENANCE_DIRECTORY ?= $(top_srcdir)/../guix-maintenance + +update-NEWS: $(GOBJECTS) + $(top_builddir)/pre-inst-env "$(GUILE)" \ + $(top_srcdir)/build-aux/update-NEWS.scm \ + $(top_srcdir)/NEWS "$(GUIX_MAINTENANCE_DIRECTORY)/data" + # Make sure we're not shipping a file that embeds a local /gnu/store file name. assert-no-store-file-names: $(distdir)/ChangeLog $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info \ @@ -676,7 +686,7 @@ hydra-jobs.scm: $(GOBJECTS) .PHONY: assert-no-store-file-names assert-binaries-available .PHONY: assert-final-inputs-self-contained .PHONY: clean-go make-go -.PHONY: update-guix-package release +.PHONY: update-guix-package update-NEWS release ## -------------- ## ## Silent rules. ## |