From ca503e63916f18a7f49be26d86a8a91657668019 Mon Sep 17 00:00:00 2001 From: wpaul Date: Wed, 1 Feb 1995 05:55:18 +0000 Subject: 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. --- usr.bin/passwd/Makefile | 14 +++++++++----- 1 file 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 -- cgit v1.1