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:
Bruce A. Mah 2006-11-09 04:23:14 +00:00
parent 8f934fea6c
commit c90f3cf5c0
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=29043

View file

@ -62,7 +62,7 @@ __initialized__:
.if !target(install)
install: afterinstall symlinks
afterinstall: realinstall
realinstall: beforeinstall _SUBDIRUSE
realinstall: beforeinstall
.endif
package: realpackage symlinks