diff options
author | ru <ru@FreeBSD.org> | 2002-07-02 12:16:54 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-07-02 12:16:54 +0000 |
commit | 038386078dfe384615c466ae7a32b271e5e0751f (patch) | |
tree | a911f9ed369d3aa9f4facaa8496e2974ad7bcfc6 /share/mk/bsd.lib.mk | |
parent | 8530756499f8c558b6ab7577e18e02d8aaad8a08 (diff) | |
download | FreeBSD-src-038386078dfe384615c466ae7a32b271e5e0751f.zip FreeBSD-src-038386078dfe384615c466ae7a32b271e5e0751f.tar.gz |
Handle installation of hard and symbolic links via a seperate .mk file.
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 1e1c9ce..9b9c414 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -317,32 +317,9 @@ _libinstall: .endif .endif defined(LIB) && !empty(LIB) && !defined(INTERNALLIB) -realinstall: -.if defined(LINKS) && !empty(LINKS) - @set ${LINKS}; \ - while test $$# -ge 2; do \ - l=${DESTDIR}$$1; \ - shift; \ - t=${DESTDIR}$$1; \ - shift; \ - ${ECHO} $$t -\> $$l; \ - ln -f $$l $$t; \ - done; true -.endif -.if defined(SYMLINKS) && !empty(SYMLINKS) - @set ${SYMLINKS}; \ - while test $$# -ge 2; do \ - l=$$1; \ - shift; \ - t=${DESTDIR}$$1; \ - shift; \ - ${ECHO} $$t -\> $$l; \ - ln -fs $$l $$t; \ - done; true -.endif - .include <bsd.files.mk> .include <bsd.incs.mk> +.include <bsd.links.mk> .if !defined(NOMAN) realinstall: _maninstall |