Wed Feb 28 03:56:20 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>

* default.c (default_terminal_rules): Remove + prefix from RCS cmds.
	(default_variables): Put + prefix in $(CHECKOUT,v) value instead.
This commit is contained in:
Roland McGrath 1996-02-29 00:27:22 +00:00
parent fd504b4d84
commit 5958f28900

View file

@ -1,5 +1,5 @@
/* Data base of default implicit rules for GNU Make. /* 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. This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify GNU Make is free software; you can redistribute it and/or modify
@ -63,9 +63,9 @@ static struct pspec default_terminal_rules[] =
{ {
/* RCS. */ /* RCS. */
{ "%", "%,v", { "%", "%,v",
"+$(CHECKOUT,v)" }, "$(CHECKOUT,v)" },
{ "%", "RCS/%,v", { "%", "RCS/%,v",
"+$(CHECKOUT,v)" }, "$(CHECKOUT,v)" },
/* SCCS. */ /* SCCS. */
{ "%", "s.%", { "%", "s.%",
@ -214,8 +214,8 @@ static char *default_variables[] =
/* This expands to $(CO) $(COFLAGS) $< $@ if $@ does not exist, /* This expands to $(CO) $(COFLAGS) $< $@ if $@ does not exist,
and to the empty string if $@ does exist. */ and to the empty string if $@ does exist. */
"CHECKOUT,v", "CHECKOUT,v",
"$(patsubst $@-noexist,$(CO) $(COFLAGS) $< $@,\ "+$(patsubst $@-noexist,$(CO) $(COFLAGS) $< $@,\
$(filter-out $@,$(firstword $(wildcard $@) $@-noexist)))", $(filter-out $@,$(firstword $(wildcard $@) $@-noexist)))",
"CO", "co", "CO", "co",
"CPP", "$(CC) -E", "CPP", "$(CC) -E",