guix-commits
[Top][All Lists]
Advanced

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

[shepherd] branch master updated: build: Rebuild man pages when 'configu


From: Ludovic Courtès
Subject: [shepherd] branch master updated: build: Rebuild man pages when 'configure.ac' changes.
Date: Fri, 06 Mar 2020 06:09:41 -0500

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository shepherd.

The following commit(s) were added to refs/heads/master by this push:
     new f32a2ff  build: Rebuild man pages when 'configure.ac' changes.
f32a2ff is described below

commit f32a2ff8ad329f224b2f693ad7e9fefac142a459
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri Mar 6 12:08:12 2020 +0100

    build: Rebuild man pages when 'configure.ac' changes.
    
    Fixes <https://bugs.gnu.org/39694>.
    Reported by Efraim Flashner <address@hidden>.
    
    This ensures that man pages are rebuilt when the version number is
    changed in 'configure.ac'.
    
    * Makefile.am (doc/shepherd.1, doc/%.1, doc/%.8): Add dependency on
    'configure.ac'.
---
 Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9a1f019..cae915e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 # Makefile.am -- How to build and install the Shepherd.
 # Copyright © 2002, 2003 Wolfgang Jährling <address@hidden>
-# Copyright © 2013, 2014, 2015, 2016, 2018, 2019 Ludovic Courtès 
<address@hidden>
+# Copyright © 2013, 2014, 2015, 2016, 2018, 2019, 2020 Ludovic Courtès 
<address@hidden>
 # Copyright © 2018 Carlo Zancanaro <address@hidden>
 #
 # This file is part of the GNU Shepherd.
@@ -109,13 +109,13 @@ AM_V_HELP2MAN_0 = @echo "  HELP2MAN" $@;
 HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME)
 gen_man = $(AM_V_HELP2MAN)LANGUAGE= $(HELP2MAN) $(HELP2MANFLAGS)
 
-doc/shepherd.1: modules/shepherd.scm
+doc/shepherd.1: modules/shepherd.scm configure.ac
        $(gen_man) --output="$@" "$(top_builddir)/`basename "$@" .1`"
 
-doc/%.1: modules/shepherd/scripts/%.scm
+doc/%.1: modules/shepherd/scripts/%.scm configure.ac
        $(gen_man) --output="$@" "$(top_builddir)/`basename "$@" .1`"
 
-doc/%.8: modules/shepherd/scripts/%.scm
+doc/%.8: modules/shepherd/scripts/%.scm configure.ac
        $(gen_man) --section=8 --output="$@"    \
          "$(top_builddir)/`basename "$@" .8`"
 



reply via email to

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