summaryrefslogtreecommitdiff
path: root/top/maint.mk
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-08-01 09:55:49 +0200
committerAkim Demaille <akim@lrde.epita.fr>2012-08-01 11:34:41 +0200
commitbd54a45e6e4bcb3ee7359c9b4f1d831a6291148f (patch)
tree7aefde8d2b0a0e166dc8910ac7e6384019dc849e /top/maint.mk
parentee60576c422f09840dbb331fe06f571c114529e2 (diff)
downloadgnulib-bd54a45e6e4bcb3ee7359c9b4f1d831a6291148f.tar.gz
maint.mk: a "release-commit" wrapper to do-release-commit-and-tag
* build-aux/do-release-commit-and-tag: Move variable definitions together. ($branch): Instead of defaulting to "master", default to the current branch (as gnu-web-doc-update does). (help): Display the current values of the option arguments. * top/maint.mk (release-commit): New. * top/README-release: Simplify the corresponding step.
Diffstat (limited to 'top/maint.mk')
-rw-r--r--top/maint.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/top/maint.mk b/top/maint.mk
index 0f3611614e..bdc4502ae5 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1294,6 +1294,12 @@ announcement: NEWS ChangeLog $(rel-files)
--no-print-checksums \
$(addprefix --url-dir=, $(url_dir_list))
+.PHONY: release-commit
+release-commit:
+ $(AM_V_GEN)cd $(srcdir) \
+ && $(_build-aux)/do-release-commit-and-tag \
+ -C $(abs_builddir) $(RELEASE)
+
## ---------------- ##
## Updating files. ##
## ---------------- ##