Summary: SCCS vs. RCS
Bruce Lilly
balilly at Broadcast.Sony.COM
Wed Nov 28 10:50:47 AEST 1990
>>On the other hand, if one uses a ``standard'' make, there is no support for a
>>',' as a delimiter for suffixes, so it's rather difficult to automate use of
>>RCS.
>
>Uh ? You don't need it. Most of what you need can be done with rules like
>
>.SUFFIXES: .c,v
>
>.c,v.c:
> $(CO) -q $*.c
>[ ... ]
>... etc. Note that for SCCS it *has* to be built into make, because it uses
>prefixes instead of suffixes.
The premise of Rob's ``solution'' is that *all* files have a '.'
somewhere. This doesn't work, e.g., for s.Makefile -> Makefile. For that
to work, a ',' would have to operate as a SUFFIX delimiter, which it does
not do in ``standard'' make. There's no way to make make make Makefile
from Makefile,v using ony SUFFIX-based rules. An explicit dependency line
and rule would be required for each and every file.
P.S. Note that make will automatically do a get if there is an s.Makefile
(or s.makefile) and neither Makefile nor makefile exist. In short, make and
SCCS are well integrated.
--
Bruce Lilly blilly!balilly!bruce at sonyd1.Broadcast.Sony.COM
More information about the Comp.unix
mailing list