nmh-commits
[Top][All Lists]
Advanced

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

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


From: Peter Maydell
Subject: [Nmh-commits] nmh ChangeLog sbr/Makefile.in config/Makefile.in [nmh-1_3-branch]
Date: Tue, 20 May 2008 19:13:31 +0000

CVSROOT:        /sources/nmh
Module name:    nmh
Branch:         nmh-1_3-branch
Changes by:     Peter Maydell <pm215>   08/05/20 19:13:31

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

Log message:
        Don't use $< in target rules in makefiles (backport from trunk)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/ChangeLog?cvsroot=nmh&only_with_tag=nmh-1_3-branch&r1=1.254.2.6&r2=1.254.2.7
http://cvs.savannah.gnu.org/viewcvs/nmh/sbr/Makefile.in?cvsroot=nmh&only_with_tag=nmh-1_3-branch&r1=1.24.2.1&r2=1.24.2.2
http://cvs.savannah.gnu.org/viewcvs/nmh/config/Makefile.in?cvsroot=nmh&only_with_tag=nmh-1_3-branch&r1=1.4.2.1&r2=1.4.2.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/nmh/nmh/ChangeLog,v
retrieving revision 1.254.2.6
retrieving revision 1.254.2.7
diff -u -b -r1.254.2.6 -r1.254.2.7
--- ChangeLog   4 May 2008 21:02:26 -0000       1.254.2.6
+++ ChangeLog   20 May 2008 19:13:30 -0000      1.254.2.7
@@ -1,3 +1,9 @@
+2008-05-20  Peter Maydell  <address@hidden>
+
+       * sbr/Makefile.in, config/Makefile.in: Don't use $<
+       in target rules in makefiles, as POSIX says it's only
+       defined in inference rules. (Ported from trunk.)
+
 2008-05-04  Peter Maydell  <address@hidden>
 
        * Released nmh-1.3 RC2.

Index: sbr/Makefile.in
===================================================================
RCS file: /sources/nmh/nmh/sbr/Makefile.in,v
retrieving revision 1.24.2.1
retrieving revision 1.24.2.2
diff -u -b -r1.24.2.1 -r1.24.2.2
--- sbr/Makefile.in     4 May 2008 16:22:53 -0000       1.24.2.1
+++ sbr/Makefile.in     20 May 2008 19:13:30 -0000      1.24.2.2
@@ -1,7 +1,7 @@
 #
 # Makefile for sbr subdirectory
 #
-# $Id: Makefile.in,v 1.24.2.1 2008/05/04 16:22:53 pm215 Exp $
+# $Id: Makefile.in,v 1.24.2.2 2008/05/20 19:13:30 pm215 Exp $
 #
 
 SHELL = /bin/sh
@@ -101,16 +101,18 @@
 lint: sigmsg.h
        $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
 
-# Note that some lexes (for example flex 2.5.4) require that there
-# be no space between -o and the output filename.
+# Note that not all lexes support -o (it is not POSIX); also
+# some lexes will only accept '-n -t', not '-nt'.
+# Also, not all makes accept $< in non-pattern rules,
+# hence the explicit filenames here.
 dtimep.c: dtimep.lex
-       $(LEX) -o$@ $<
+       $(LEX) -n -t $(srcdir)/dtimep.lex > dtimep.c
 
 client.o: client.c
-       $(COMPILE2) $<
+       $(COMPILE2) $(srcdir)/client.c
 
 mts.o: mts.c
-       $(COMPILE2) $<
+       $(COMPILE2) $(srcdir)/mts.c
 
 pidstatus.o: sigmsg.h
 

Index: config/Makefile.in
===================================================================
RCS file: /sources/nmh/nmh/config/Makefile.in,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -b -r1.4.2.1 -r1.4.2.2
--- config/Makefile.in  4 May 2008 16:22:53 -0000       1.4.2.1
+++ config/Makefile.in  20 May 2008 19:13:30 -0000      1.4.2.2
@@ -1,7 +1,7 @@
 #
 # Makefile for config subdirectory
 #
-# $Id: Makefile.in,v 1.4.2.1 2008/05/04 16:22:53 pm215 Exp $
+# $Id: Makefile.in,v 1.4.2.2 2008/05/20 19:13:30 pm215 Exp $
 #
 
 # nmh version
@@ -58,7 +58,7 @@
        ${srcdir}/version.sh $(VERSION) > version.c
 
 config.o: config.c
-       $(COMPILE2) $<
+       $(COMPILE2) $(srcdir)/config.c
 
 install:
 




reply via email to

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