Subject: /usr/src/etc/Makefile
To: None <>
From: - Greg Earle <earle@isolar.Tujunga.CA.US>
List: current-users
Date: 03/28/1994 19:28:46
>>Would it be too much to ask to have the "make
>>install" target check to make sure that the target directory exists first, and
>>to create it if it doesn't exist?
>Yes.  Use 'mtree' and the mtree configuration files to create a
>directory tree.  See the example use in /usr/src/etc/Makefile.

Good timing - I'd just stumbled upon that :-)

Since you mentioned that file, a question - I see the "distribution" target
in there.  I used Theo's SPARC binaries to get up and going originally; and
over the weekend tried to rebuild the world from the March 27th sources.

When "make" gets to /usr/src/etc, nothing much happens.  "make distribution"
would create some of the files I'm missing, but it would blow away some other
files with default versions.

More to the point, I don't see any target that would update files in /etc (or
/dev) if newer ones appear in /usr/src/etc or /usr/src/etc/etc.<arch>.  In
other words, I'd expect a make target that would see that my /etc/services is

-rw-r--r--  1 root  wheel  2024 Jan 22 20:48 /etc/services

and see that /usr/src/etc/services is

-rw-r--r--  1 root  wheel  5617 Mar 17 02:46 services

and therefore update /etc/services.  I must be missing something somewhere ...
but what?


	- Greg