[PATCH] maint: fix "make syntax-check" vs PATH=...: portability nit

Jim Meyering jim at meyering.net
Thu Apr 7 18:29:24 UTC 2011


FYI: I pushed a recent change without first running "make syntax-check":

>From 17156f252798f10f40bf26b17963c8a0405ec8a4 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Thu, 7 Apr 2011 20:27:57 +0200
Subject: [PATCH] maint: fix "make syntax-check" vs PATH=...:... portability
 nit

* man/Makefile.am (iwhd.8): (iwhd.8): Use $(PATH_SEPARATOR), not ":".
---
 man/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/man/Makefile.am b/man/Makefile.am
index 1e40092..7cb842c 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -22,6 +22,6 @@ MAINTAINERCLEANFILES = $(dist_man8_MANS)
 iwhd.8: $(top_srcdir)/configure.ac $(top_srcdir)/rest.c
 	$(AM_V_GEN) \
 	  (echo '[NAME]' && sed 's@/\* *@@; s/-/\\-/; q' $(top_srcdir)/rest.c)|\
-	  PATH=..:$$PATH \
+	  PATH=..$(PATH_SEPARATOR)$$PATH \
 	    $(HELP2MAN) --no-info -i - -S '$(PACKAGE) $(VERSION)' iwhd \
 	      > $@-t && mv $@-t $@
--
1.7.5.rc1.221.g4a6bb


More information about the iwhd-devel mailing list