This patch enhances install by bringing support for automatically creating target directory's hierarchy before installing files (-D option). examples : install -D foo bar/ Will create directory bar/ and install foo inside. install -D foo bar Same behaviour as before : file foo is installed as bar install -D foo bar baz/abc/ or install -D foo bar baz/abc Will create target directory baz/abc and install foo and bar inside. install -d -D foo bar Same behaviour as before : directories foo and bar are created This options is inspired from gnu's install and may simplify porter's work. I have updated documentation (install.1) to make the new option appear. Fix: Patch attached with submission follows:
For bugs matching the following conditions: - Status == In Progress - Assignee == "bugs@FreeBSD.org" - Last Modified Year <= 2017 Do - Set Status to "Open"
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Created attachment 258783 [details] xinstall.diff ^Triage: rebase patch.