summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-15 22:49:56 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-15 22:49:56 +0000
commit1b224bebd4cbe6d294a9ab56a4578d337ea4f611 (patch)
treed1ed4765ab06d83c34f881401f2494d1f0bcfaaf /cddl
parent2dbdb62ad1b182f1a173c7e46f0fc55e6cfe3a5d (diff)
downloadFreeBSD-src-1b224bebd4cbe6d294a9ab56a4578d337ea4f611.zip
FreeBSD-src-1b224bebd4cbe6d294a9ab56a4578d337ea4f611.tar.gz
Make installing to a non-existent directory an error.
Before this, if a file was installed to DESTDIR/some/dir and that directory was missing due to not having ran 'make distrib-dirs' yet, the file would be installed as 'some/dir'. For something like bsd.incs.mk with INCLUDEDIR being a sub-directory of /usr/include, this could result in all of the headers being installed to a file rather than getting a directory of them. Now it will error that the file/directory does not exist rather than hide the issue. Another option being discussed is to implement GNU's install -D flag which would auto create any missing directories. This is a mitigation of the problem. The proper order to the build is to run 'make distrib-dirs' first, but that can be forgotten if building from a sub-directory after updating the source code to the latest revision. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud