m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

improve 'make web-manual'


From: Eric Blake
Subject: improve 'make web-manual'
Date: Wed, 04 Mar 2009 05:52:51 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm applying this, which picks up improvements made when coreutils
borrowed the idiom of a maintainer's 'make web-manual' from m4.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmueaMACgkQ84KuGfSFAYBgYgCfWUAaU/F9odqtQAhTrCry2KVm
CmAAoM9M7GyXBquNwzXAlL7n6FMg1Dk7
=POkS
-----END PGP SIGNATURE-----
>From 39a8eb3846b65914fecf7b4f981e1dd029de1f5c Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Tue, 3 Mar 2009 10:26:51 -0700
Subject: [PATCH] Improve web-manual maintainer rule.

* maint.mk (web-manual): Work with VPATH builds.  Factor
package-specific detail...
* cfg.mk (manual_title): ...to new variable.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog |    7 +++++++
 cfg.mk    |    5 ++++-
 maint.mk  |    6 +++---
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 696493c..4bfaf6e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-03-03  Eric Blake  <address@hidden>
+
+       Improve web-manual maintainer rule.
+       * maint.mk (web-manual): Work with VPATH builds.  Factor
+       package-specific detail...
+       * cfg.mk (manual_title): ...to new variable.
+
 2009-02-26  Eric Blake  <address@hidden>

        Make bootstrap easier on Solaris.
diff --git a/cfg.mk b/cfg.mk
index 8de2510..ff05a1e 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -1,5 +1,5 @@
 # Customize maint.mk.                           -*- makefile -*-
-# Copyright (C) 2003-2008 Free Software Foundation, Inc.
+# Copyright (C) 2003-2009 Free Software Foundation, Inc.

 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -21,6 +21,9 @@ gnu_ftp_host-beta = alpha.gnu.org
 gnu_ftp_host-major = ftp.gnu.org
 gnu_rel_host = $(gnu_ftp_host-$(RELEASE_TYPE))

+# Used in maint.mk's web-manual rule
+manual_title = GNU macro processor
+
 url_dir_list = \
   ftp://$(gnu_rel_host)/gnu/m4

diff --git a/maint.mk b/maint.mk
index e036105..5b3f7cc 100644
--- a/maint.mk
+++ b/maint.mk
@@ -193,8 +193,8 @@ delta-diff: prev-tarball new-tarball

 .PHONY: web-manual
 web-manual:
-       @cd ./doc ; \
-         $(SHELL) $(abs_srcdir)/build-aux/gendocs.sh \
+       @cd '$(srcdir)/doc' ; \
+         $(SHELL) ../build-aux/gendocs.sh -o '$(abs_builddir)/doc/manual' \
            --email $(PACKAGE_BUGREPORT) $(PACKAGE) \
-           "$(PACKAGE_NAME) - GNU macro processor"
+           "$(PACKAGE_NAME) - $(manual_title)"
        @echo " *** Upload the doc/manual directory to web-cvs."
-- 
1.6.1.2


reply via email to

[Prev in Thread] Current Thread [Next in Thread]