diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-02-01 05:55:18 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-02-01 05:55:18 +0000 |
commit | ca503e63916f18a7f49be26d86a8a91657668019 (patch) | |
tree | 02cf8617d70bc7918c3f4cb16dc630502dd2a329 /usr.bin/passwd | |
parent | 41f11011a18c7fe095dbde567f4a1c3f1b8cf75e (diff) | |
download | FreeBSD-src-ca503e63916f18a7f49be26d86a8a91657668019.zip FreeBSD-src-ca503e63916f18a7f49be26d86a8a91657668019.tar.gz |
Changed passwd/yppasswd's Makefile to create all symbolic links instead
of hard links: since passwd is installed immutable, an attempt to make
a hard link to it during a 'make install' would fail. I didn't notice
this conflict because my /usr directory is an NFS filesystem mounted from a
SunOS server, so the special file mode flags had no effecti when I tested
everything on my machine. Live and learn.
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r-- | usr.bin/passwd/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile index 13b5188..1feea4f 100644 --- a/usr.bin/passwd/Makefile +++ b/usr.bin/passwd/Makefile @@ -11,13 +11,17 @@ CFLAGS+=-DCRYPT -DYP -I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw \ -I${.CURDIR}/../../usr.bin/chpass \ -I${.CURDIR}/../../gnu/usr.sbin/yppasswdd -LINKS= ${BINDIR}/passwd ${BINDIR}/yppasswd -LINKS+= ${BINDIR}/passwd ${BINDIR}/ypchfn -LINKS+= ${BINDIR}/passwd ${BINDIR}/ypchsh -LINKS+= ${BINDIR}/passwd ${BINDIR}/ypchpass - BINOWN= root BINMODE=4555 +BINDIR= /usr/bin INSTALLFLAGS=-fschg +afterinstall: symlinks + +symlinks: passwd + ln -sf ${BINDIR}/passwd ${BINDIR}/yppasswd + ln -sf ${BINDIR}/passwd ${BINDIR}/ypchsh + ln -sf ${BINDIR}/passwd ${BINDIR}/ypshfn + ln -sf ${BINDIR}/passwd ${BINDIR}/ypchpass + .include <bsd.prog.mk> |