changeset 17017:f8db24372e01

maint.mk: provide a web-manual-update target * top/maint.mk: here. * top/README-release: Use it to simplify the web manual update step.
author Akim Demaille <akim@lrde.epita.fr>
date Mon, 30 Jul 2012 13:41:01 +0200
parents 760a817944c0
children 5c9f5fd5fc49
files ChangeLog top/README-release top/maint.mk
diffstat 3 files changed, 18 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,12 @@
 
 2012-07-30  Akim Demaille  <akim@lrde.epita.fr>
 
+	maint.mk: provide a web-manual-update target
+	* top/maint.mk: here.
+	* top/README-release: Use it to simplify the web manual update step.
+
+2012-07-30  Akim Demaille  <akim@lrde.epita.fr>
+
 	README-release: shorten the circuit to post a news
 	* top/README-release: Point directly to the news submission form.
 
--- a/top/README-release
+++ b/top/README-release
@@ -76,12 +76,10 @@
 
     https://savannah.gnu.org/news/submit.php?group=@PACKAGE@
 
-  If it does not work, then enable "News" for the project via this
-  link:
+  If it does not work, then enable "News" for the project via this link:
 
     https://savannah.gnu.org/project/admin/editgroupfeatures.php?group=@PACKAGE@
 
-
   Write something like the following:
 
     Subject: @PACKAGE@-X.Y released [stable]
@@ -95,12 +93,10 @@
 
 * Send the announcement email message.
 
-* After each non-alpha release, update the on-line manual accessible via
+* After each non-alpha release, run
+
+    make web-manual-update
+
+  to update the on-line manual accessible at
 
     http://www.gnu.org/software/@PACKAGE@/manual/
-
-  by running this from top_srcdir:
-
-    build-aux/gnu-web-doc-update
-
-  possibly with "-C <BUILDDIR>"
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1405,6 +1405,12 @@
 	    "$(PACKAGE_NAME) - $(manual_title)"
 	@echo " *** Upload the doc/manual directory to web-cvs."
 
+.PHONY: web-manual-update
+web-manual-update:
+	$(AM_V_GEN)cd $(srcdir) \
+	  && $(_build-aux)/gnu-web-doc-update -C $(abs_builddir)
+
+
 # Code Coverage
 
 init-coverage: