grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.20-74-g8ea1c52


From: Jim Meyering
Subject: grep branch, master, updated. v2.20-74-g8ea1c52
Date: Sat, 01 Nov 2014 03:57:51 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  8ea1c520a237586f2c1909c7b9cd3223414a5d1c (commit)
      from  c9bd271bb60c6e4d5ad553a3b31cc83b393bf054 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8ea1c520a237586f2c1909c7b9cd3223414a5d1c


commit 8ea1c520a237586f2c1909c7b9cd3223414a5d1c
Author: Jim Meyering <address@hidden>
Date:   Fri Oct 31 18:40:50 2014 -0500

    build: generate man pages even when existing targets are read-only
    
    * doc/Makefile.am (grep.1): Use mv -f to move temporary to target,
    in case the target is read-only.  Also, always make the generated
    files read-only.
    (egrep.1 fgrep.1): Likewise.
    This avoids a build failure reported by Eric Blake in
    http://lists.gnu.org/archive/html/bug-grep/2014-10/msg00112.html

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 9a50434..684c1db 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -25,10 +25,14 @@ EXTRA_DIST = grep.in.1
 CLEANFILES = grep.1 egrep.1 fgrep.1
 
 grep.1: grep.in.1
-       $(AM_V_GEN)sed 's/@''VERSION@/$(VERSION)/' < $(srcdir)/grep.in.1 > 
address@hidden
-       $(AM_V_at)mv address@hidden $@
+       $(AM_V_GEN)rm -f address@hidden $@
+       $(AM_V_at)sed 's/@''VERSION@/$(VERSION)/' $(srcdir)/grep.in.1 > 
address@hidden
+       $(AM_V_at)chmod a=r address@hidden
+       $(AM_V_at)mv -f address@hidden $@
 
 egrep.1 fgrep.1: Makefile.am
-       $(AM_V_GEN)inst=`echo grep | sed '$(transform)'`.1 \
+       $(AM_V_GEN)rm -f address@hidden $@
+       $(AM_V_at)inst=`echo grep | sed '$(transform)'`.1 \
          && echo ".so man1/$$inst" > address@hidden
-       $(AM_V_at)mv address@hidden $@
+       $(AM_V_at)chmod a=r address@hidden
+       $(AM_V_at)mv -f address@hidden $@

-----------------------------------------------------------------------

Summary of changes:
 doc/Makefile.am |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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