Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:27fbfdd2152c76fb851bc8796e6c218e010f4adb
Author...:karl <>
Committer:karl <>
Date.....:Thu Jan 1 19:21:10 2009 +0000
Parents..:4deae2a796fbad4e96d9868fbf0f3c92298ae14f

Message
[project @ 2009-01-01 19:21:10 by karl]
pass --email to gendocs.sh

Changes
diff --git a/ChangeLog b/ChangeLog
line changes: +4/-0
index ef4ec1e..696ebe4
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-01  Karl Berry  <karl@gnu.org>
+
+	* Makefile.am (wwwdoc, email): pass --email to gendocs.sh.
+
 2008-12-14  Karl Berry  <karl@gnu.org>
 
 	* Makefile.am (wwwdoc): doc fix.

diff --git a/Makefile.am b/Makefile.am
line changes: +14/-4
index a0fa065..f7cd0ba
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
 # and all subdirectories).
 # Makefile for the top-level directory of GNU hello.
 # 
-# Copyright 1997, 1998, 2005, 2006, 2007, 2008 Free Software
+# Copyright 1997, 1998, 2005, 2006, 2007, 2008, 2009 Free Software
 # Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -81,18 +81,28 @@ po-check:
 	  rm -f $@-1 $@-2;						\
 	fi
 
-doctemp = doc/wwwtemp
+# Example of updating the online web pages for the documentation
+# with the gendocs.sh script; see
+# http://www.gnu.org/prep/maintain/html_node/Invoking-gendocs_002esh.html
+#
 gnulib = $(HOME)/gnu/src/gnulib
 gendocs = $(gnulib)/build-aux/gendocs.sh
-gendocs_envvars = GENDOCS_TEMPLATE_DIR=$(gnulib)/doc
+gendocs_templates = $(gnulib)/doc
+gendocs_envvars = GENDOCS_TEMPLATE_DIR=$(gendocs_templates)
+#
 manual = hello
 manual_title = "Hello, GNU World"
+email = bug-hello@gnu.org
+gendocs_args = --email $(email) $(manual) $(manual_title)
+#
 www_target = $(HOME)/gnu/www/hello/manual
+#
+doctemp = doc/wwwtemp
 wwwdoc:
 	rm -rf $(doctemp) && mkdir $(doctemp)
 	cd $(doctemp) \
 	&& ln -s ../*.texi . \
-	&& env $(gendocs_envvars) $(gendocs) $(manual) $(manual_title)
+	&& env $(gendocs_envvars) $(gendocs) $(gendocs_args)
 	cp -arf $(doctemp)/manual/. $(www_target)
 	ls -ltu $(www_target)/html_node | tail  # cvs rm -f obsolete files
 # followed by cvs add of new files and cvs commit.

This website is licensed under AGPL-3.0. Feel free to copy!