Subject: misc/1956: [dM] install creates junk directories
To: None <email@example.com>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
Date: 01/18/1996 12:16:18
>Synopsis: [dM] install creates junk directories
>Responsible: misc-bug-people (Misc Bug People)
>Arrival-Date: Thu Jan 18 17:35:01 1996
>Originator: der Mouse
>Release: NetBSD -current sup as of Jan 16
SPARC IPC, but it doesn't matter
When /usr/src/etc/Makefile was changed to run mtree to ensure
that the necessary directories were created to install things
in, someone left a lot of junk in the driving file. One may
want such things in a distribution, but it is entirely
inappropriate for "make install" to create directories that
_aren't_ needed for the installation and quite possibly aren't
wanted at all.
% cd /usr/src/etc
% make install
...watch mtree create /altroot, /home, /stand, a whole bunch of
junk in /usr/local, /usr/obj even if you don't use obj
directories, and at least in my case, say that a few things
that actually exist are missing and then complain "File exists"
when attempting to create them...
Most of it can be cured by either yanking stuff from
mtree/4.4BSD.dist or else using some other file, like creating
mtree/NetBSD.install and using it.