bug-cppi
[Top][All Lists]
Advanced

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

[bug-cppi] [PATCH] maint: fix a harmless-here bug in the man cross-check


From: Jim Meyering
Subject: [bug-cppi] [PATCH] maint: fix a harmless-here bug in the man cross-check rules
Date: Sun, 29 Jan 2012 12:53:01 +0100

FYI,

>From 1246bdd8c853c19db9a30a7a3c8ffaac5fec4c38 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 29 Jan 2012 11:53:32 +0100
Subject: [PATCH] maint: fix a harmless-here bug in the man cross-check rules

* man/local.mk (check-x-vs-1, programs): Use \012, not \015.
Didn't matter here, with only a single program, but definitely
matters when there are two or more.
---
 man/local.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/local.mk b/man/local.mk
index c5552e6..8df8f50 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -36,14 +36,14 @@ ASSORT = LC_ALL=C sort
 check-x-vs-1:
        $(AM_V_GEN)t=ls-files.$$$$;                                     \
        (cd $(srcdir)/man && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\
-       echo $(dist_man1_MANS) | tr -s ' ' '\015' | sed 's,man/,,;s/\.1$$//' \
+       echo $(dist_man1_MANS) | tr -s ' ' '\012' | sed 's,man/,,;s/\.1$$//' \
           | $(ASSORT) -u | diff - $$t || { rm $$t; exit 1; };          \
        rm $$t

 programs =                                                             \
   echo 'spy:;@echo $$(PROGRAMS)'                                       \
     | MAKEFLAGS= $(MAKE) -s -f Makefile -f - spy                       \
-    | tr -s ' ' '\015' | sed 's,.*/,,' | $(ASSORT) -u
+    | tr -s ' ' '\012' | sed 's,.*/,,' | $(ASSORT) -u

 .PHONY: check-programs-vs-x
 check-programs-vs-x:
--
1.7.9.1.g63eb



reply via email to

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