maint.mk: provide a web-manual-update target
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 30 Jul 2012 11:41:01 +0000 (13:41 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 30 Jul 2012 12:31:51 +0000 (14:31 +0200)
* top/maint.mk: here.
* top/README-release: Use it to simplify the web manual update step.

ChangeLog
top/README-release
top/maint.mk

index 6895ad6..b8cc5c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
 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.
 
index 1c0f760..e5f0e4d 100644 (file)
@@ -76,12 +76,10 @@ Once all the builds and tests have passed,
 
     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 @@ Once all the builds and tests have passed,
 
 * Send the announcement email message.
 
-* After each non-alpha release, update the on-line manual accessible via
-
-    http://www.gnu.org/software/@PACKAGE@/manual/
+* After each non-alpha release, run
 
-  by running this from top_srcdir:
+    make web-manual-update
 
-    build-aux/gnu-web-doc-update
+  to update the on-line manual accessible at
 
-  possibly with "-C <BUILDDIR>"
+    http://www.gnu.org/software/@PACKAGE@/manual/
index 6336e3a..a40e524 100644 (file)
@@ -1405,6 +1405,12 @@ web-manual:
            "$(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: