Subject: RFE: "make install" doesn't check for existance of target directory
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: - Greg Earle <earle@isolar.Tujunga.CA.US>
List: current-users
Date: 03/28/1994 11:56:19
The existing (emphasis on "existing") NetBSD/SPARC binaries don't come with a
/usr/share.  When re-making the world with the March 27th sources, the
"make install" stage gags several times due to non-existant target installation
directories in /usr/share.  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?

e.g.:

...
===> share
===> dict
install -c -o bin -g bin -m 444 README propernames web2 web2a  /usr/share/dict
usage: install [-cs] [-g group] [-m mode] [-o owner] file1 file2
       install [-cs] [-g group] [-m mode] [-o owner] file1 ... fileN directory
       install  -d   [-g group] [-m mode] [-o owner] directory ...
*** Error code 1 (continuing)
`install' not remade because of errors.
===> doc
===> ps1
install -c -o bin -g bin -m 444 00.contents Makefile Title  /usr/share/doc/ps1
usage: install [-cs] [-g group] [-m mode] [-o owner] file1 file2
       install [-cs] [-g group] [-m mode] [-o owner] file1 ... fileN directory
       install  -d   [-g group] [-m mode] [-o owner] directory ...
*** Error code 1 (continuing)
`install' not remade because of errors.

[ same for "smm" and "usd" here ]
...

This is especially noticable when creating the architecture-specific stuff in
the /usr/share/man/cat* directories; for example, MAKEDEV.0 in man8.tahoe
gets installed as "/usr/share/man/cat8/tahoe" as a regular file instead of
being put into that directory.

	- Greg

------------------------------------------------------------------------------