diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-09-12 11:41:31 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-09-12 11:41:31 +0000 |
commit | b5ff185e19f6013ca565b2a15bc2d6abce933f46 (patch) | |
tree | 60c693416bb4f18491c1fcc6b486930fcd9f4ef1 /share/mk/bsd.incs.mk | |
parent | 2fbd60ec4724bc5eebc0870e28620e75ae447922 (diff) | |
parent | d36c6176161e31d945d8adbb2aae1ccffb632bd7 (diff) | |
download | src-b5ff185e19f6013ca565b2a15bc2d6abce933f46.tar.gz src-b5ff185e19f6013ca565b2a15bc2d6abce933f46.zip |
Merge from head
Notes
Notes:
svn path=/projects/release-pkg/; revision=287708
Diffstat (limited to 'share/mk/bsd.incs.mk')
-rw-r--r-- | share/mk/bsd.incs.mk | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/share/mk/bsd.incs.mk b/share/mk/bsd.incs.mk index 24312b76001f..4b019e0977e2 100644 --- a/share/mk/bsd.incs.mk +++ b/share/mk/bsd.incs.mk @@ -84,15 +84,10 @@ _${group}INS: ${_${group}INCS} .if defined(INCSLINKS) && !empty(INCSLINKS) installincludes: - @set ${INCSLINKS}; \ - while test $$# -ge 2; do \ - l=$$1; \ - shift; \ - t=${DESTDIR}$$1; \ - shift; \ - ${ECHO} $$t -\> $$l; \ - ${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},development} $$l $$t; \ - done; true +.for s t in ${INCSLINKS} + @${ECHO} "$t -> $s" ; \ + ${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},development} $s ${DESTDIR}$t +.endfor .endif .endif # !target(installincludes) |