doc: ensure that emit_bug_reporting_address changes propagate to *.1
authorJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 18:42:00 +0000 (19:42 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 19:20:07 +0000 (20:20 +0100)
* man/Makefile.am ($(MAN)): Depend on system.h.

man/Makefile.am

index 415eb82..2b28052 100644 (file)
@@ -1,6 +1,6 @@
 # Make coreutils man pages.                            -*-Makefile-*-
 
-# Copyright (C) 2002-2008 Free Software Foundation, Inc.
+# Copyright (C) 2002-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
@@ -132,6 +132,10 @@ who.1:             $(common_dep)   $(srcdir)/who.x         ../src/who.c
 whoami.1:      $(common_dep)   $(srcdir)/whoami.x      ../src/whoami.c
 yes.1:         $(common_dep)   $(srcdir)/yes.x         ../src/yes.c
 
+# This is required so that changes to e.g., emit_bug_reporting_address
+# provoke regeneration of all $(MAN) files.
+$(MAN): $(top_srcdir)/src/system.h
+
 SUFFIXES = .x .1
 
 # Ensure that help2man runs the ../src/ginstall binary as