Eliminate duplicate traversal of directories in realinstall target.
This change eliminates O(2^N)-1 passes through the individual documents, where N is the number of levels of directory hierarchy. For a "make install" from the top level of the doc/ tree, files corresponding to individual documents were being installed eight (!!!) times. Reviewed by: trhodes, Szilveszter Adam
This commit is contained in:
parent
8f934fea6c
commit
c90f3cf5c0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=29043
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ __initialized__:
|
|||
.if !target(install)
|
||||
install: afterinstall symlinks
|
||||
afterinstall: realinstall
|
||||
realinstall: beforeinstall _SUBDIRUSE
|
||||
realinstall: beforeinstall
|
||||
.endif
|
||||
|
||||
package: realpackage symlinks
|
||||
|
|
Loading…
Reference in a new issue