]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - adduser/Makefile
Move login_cap.h from src/include for easier maintenance with
[pw-darwin.git] / adduser / Makefile
index b274e4cb2d22f16615ee2451fac233f753dca454..044e6cb61ed8de5acabf5c9a94c92afaf1901279 100644 (file)
@@ -1,9 +1,12 @@
-STRIP=   
-PROG= adduser
+#      $Id$
 
-cleandir:
-clean:
-obj:
+SCRIPTS= adduser.perl rmuser.perl addgroup.tcl rmgroup.sh
+MAN8=   adduser.8    rmuser.8    addgroup.8   rmgroup.8
 
-.include <bsd.prog.mk>
+beforeinstall:
+.for script in ${SCRIPTS}
+       ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+           ${.CURDIR}/${script} ${DESTDIR}${BINDIR}/${script:R}
+.endfor
 
+.include <bsd.prog.mk>