[net.unix-wizards] make and sccs

J@sri-unix (06/22/82)

Date:     9 Jun 82 19:49:07-EDT (Wed)
It seems that MAKE does not work well with SCCS archives. (whenever SCCS
updates the archive, it updates the mod time).  This causes make to think
that EVERY version of a file has been updated, not just the ones most recently
added.  When building files to an old delta level, this causes excessive
compilations etc.

Has anyone noticed/fixed this problem?  I am thinking of doing it my making
MAKE read the archive headers, but wanted to know if anyone else had a better
idea.

						-JCP-

jce (08/02/82)

A little while ago, i asked if anyone knew how to construct a make rule
that would convince make to get sccs files from other than the current
directory.  I got lots of responses, and they all fell into one of
these categories:

	a) you have to have a dependency for each file to be gotten
	   from the other directory

	b) if you find out, tell me too

In other words, no, there evidently is not a way to make a general
rule.

Thanks to all who responded.

John Eldridge   harpo!floyd!jce

smb (08/03/82)

We took a different point of view; we changed SCCS to use suffixes instead
of prefixes.  Thus, we have a rule to map a .c+s to a .c, a .y+s to a .y,
etc.

		--Steve Bellovin
		duke!unc!smb
		smb.unc@udel-relay