diff top/maint.mk @ 17021:37799b20257d

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.
author Akim Demaille <akim@lrde.epita.fr>
date Wed, 01 Aug 2012 09:55:49 +0200
parents 5c9f5fd5fc49
children 4f196cfd0ca8
line wrap: on
line diff
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1294,6 +1294,12 @@
 	    --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.  ##
 ## ---------------- ##