diff options
author | brooks <brooks@FreeBSD.org> | 2013-01-21 22:40:39 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2013-01-21 22:40:39 +0000 |
commit | 6c2d158abab6d3c886d4781a41c8dbdd264de1f2 (patch) | |
tree | d806d55edcbaebd9de505766bda68830b850e85b /share/mk/bsd.own.mk | |
parent | af380cc2bf79f05f3bc2dc404bb15bd165f77444 (diff) | |
download | FreeBSD-src-6c2d158abab6d3c886d4781a41c8dbdd264de1f2.zip FreeBSD-src-6c2d158abab6d3c886d4781a41c8dbdd264de1f2.tar.gz |
Replace all known uses of ln in the build process with appropriate
install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK
variables.
Sponsored by: DARPA, AFRL
Reviewed by: ian, ray, rpaulo
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r-- | share/mk/bsd.own.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 200cffd..be00ce4 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -181,6 +181,15 @@ NLSMODE?= ${NOBINMODE} INCLUDEDIR?= /usr/include +# +# install(1) parameters. +# +HRDLINK?= -l h +SYMLINK?= -l s + +INSTALL_LINK?= ${INSTALL} ${HRDLINK} +INSTALL_SYMLINK?= ${INSTALL} ${SYMLINK} + # Common variables .if !defined(DEBUG_FLAGS) STRIP?= -s |