X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/904f1176b9442546dad457e5016b492472072ebc..475ca984df484b9851edede590f66106c9d5455a:/adduser/Makefile diff --git a/adduser/Makefile b/adduser/Makefile index aaec2a4..044e6cb 100644 --- a/adduser/Makefile +++ b/adduser/Makefile @@ -1,15 +1,12 @@ +# $Id$ -STRIP= -PROG= adduser +SCRIPTS= adduser.perl rmuser.perl addgroup.tcl rmgroup.sh +MAN8= adduser.8 rmuser.8 addgroup.8 rmgroup.8 - -afterinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m 444 userids /etc - install -c -o ${BINOWN} -g ${BINGRP} -m 444 adduser.conf /etc - -cleandir: -clean: -obj: +beforeinstall: +.for script in ${SCRIPTS} + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + ${.CURDIR}/${script} ${DESTDIR}${BINDIR}/${script:R} +.endfor .include -