nmh-commits
[Top][All Lists]
Advanced

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

[Nmh-commits] nmh ./ChangeLog config/Makefile.in sbr/Makefile.in


From: Peter Maydell
Subject: [Nmh-commits] nmh ./ChangeLog config/Makefile.in sbr/Makefile.in
Date: Sat, 24 Dec 2005 17:53:27 +0000

CVSROOT:        /cvsroot/nmh
Module name:    nmh
Branch:         
Changes by:     Peter Maydell <address@hidden>  05/12/24 17:53:27

Modified files:
        .              : ChangeLog 
        config         : Makefile.in 
        sbr            : Makefile.in 

Log message:
        Avoid non-portable use of $< outside an inference rule.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/nmh/ChangeLog.diff?tr1=1.216&tr2=1.217&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/nmh/nmh/config/Makefile.in.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/nmh/nmh/sbr/Makefile.in.diff?tr1=1.19&tr2=1.20&r1=text&r2=text

Patches:
Index: nmh/ChangeLog
diff -u nmh/ChangeLog:1.216 nmh/ChangeLog:1.217
--- nmh/ChangeLog:1.216 Sat Dec 24 17:17:38 2005
+++ nmh/ChangeLog       Sat Dec 24 17:53:26 2005
@@ -1,5 +1,12 @@
 2005-12-24  Peter Maydell  <address@hidden>
 
+       * Bug #15285: Don't use $< in target rules in makefiles, as POSIX
+       says it's only defined in inference rules. (BSD make was expanding
+       $< to the empty string in the rule for building sbr/dtimep.c, which
+       causes lex to apparently hang because it's reading from stdin.)
+
+2005-12-24  Peter Maydell  <address@hidden>
+
        * Completely redo db library checking -- we now check for working
        (include file, library) pairs rather than checking for headers and
        libraries separately. We also now provide --with-ndbm=lib and
Index: nmh/config/Makefile.in
diff -u nmh/config/Makefile.in:1.3 nmh/config/Makefile.in:1.4
--- nmh/config/Makefile.in:1.3  Tue Nov  8 16:51:36 2005
+++ nmh/config/Makefile.in      Sat Dec 24 17:53:26 2005
@@ -1,7 +1,7 @@
 #
 # Makefile for config subdirectory
 #
-# $Id: Makefile.in,v 1.3 2005/11/08 16:51:36 opk Exp $
+# $Id: Makefile.in,v 1.4 2005/12/24 17:53:26 pm215 Exp $
 #
 
 # nmh version
@@ -58,7 +58,7 @@
        ${srcdir}/version.sh $(VERSION) > version.c
 
 config.o: config.c
-       $(COMPILE2) $<
+       $(COMPILE2) config.c
 
 install:
 
Index: nmh/sbr/Makefile.in
diff -u nmh/sbr/Makefile.in:1.19 nmh/sbr/Makefile.in:1.20
--- nmh/sbr/Makefile.in:1.19    Tue Nov  8 16:51:37 2005
+++ nmh/sbr/Makefile.in Sat Dec 24 17:53:26 2005
@@ -1,7 +1,7 @@
 #
 # Makefile for sbr subdirectory
 #
-# $Id: Makefile.in,v 1.19 2005/11/08 16:51:37 opk Exp $
+# $Id: Makefile.in,v 1.20 2005/12/24 17:53:26 pm215 Exp $
 #
 
 SHELL = /bin/sh
@@ -102,13 +102,13 @@
 # Note that some lexes (for example flex 2.5.4) require that there
 # be no space between -o and the output filename.
 dtimep.c: dtimep.lex
-       $(LEX) -o$@ $<
+       $(LEX) -o$@ dtimep.lex
 
 client.o: client.c
-       $(COMPILE2) $<
+       $(COMPILE2) client.c
 
 mts.o: mts.c
-       $(COMPILE2) $<
+       $(COMPILE2) mts.c
 
 pidstatus.o: sigmsg.h
 




reply via email to

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