Wed Feb 28 03:56:20 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
authorRoland McGrath <roland@redhat.com>
Thu, 29 Feb 1996 00:27:22 +0000 (00:27 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 29 Feb 1996 00:27:22 +0000 (00:27 +0000)
* default.c (default_terminal_rules): Remove + prefix from RCS cmds.
(default_variables): Put + prefix in $(CHECKOUT,v) value instead.

default.c

index 62eef92bdd5c069cd33c5c5df7d22b20dee12c28..7c487d14e1f0258b7f6fc013138543a64b8dc084 100644 (file)
--- a/default.c
+++ b/default.c
@@ -1,5 +1,5 @@
 /* Data base of default implicit rules for GNU Make.
-Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
+Copyright (C) 1988,89,90,91,92,93,94,95,96 Free Software Foundation, Inc.
 This file is part of GNU Make.
 
 GNU Make is free software; you can redistribute it and/or modify
@@ -63,9 +63,9 @@ static struct pspec default_terminal_rules[] =
   {
     /* RCS.  */
     { "%", "%,v",
-       "+$(CHECKOUT,v)" },
+       "$(CHECKOUT,v)" },
     { "%", "RCS/%,v",
-       "+$(CHECKOUT,v)" },
+       "$(CHECKOUT,v)" },
 
     /* SCCS.  */
     { "%", "s.%",
@@ -214,8 +214,8 @@ static char *default_variables[] =
     /* This expands to $(CO) $(COFLAGS) $< $@ if $@ does not exist,
        and to the empty string if $@ does exist.  */
     "CHECKOUT,v",
-    "$(patsubst $@-noexist,$(CO) $(COFLAGS) $< $@,\
-               $(filter-out $@,$(firstword $(wildcard $@) $@-noexist)))",
+    "+$(patsubst $@-noexist,$(CO) $(COFLAGS) $< $@,\
+                $(filter-out $@,$(firstword $(wildcard $@) $@-noexist)))",
 
     "CO", "co",
     "CPP", "$(CC) -E",