]> 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 bd448af18577722c0eb8fb801f40543df49a07bc..044e6cb61ed8de5acabf5c9a94c92afaf1901279 100644 (file)
@@ -1,11 +1,12 @@
-# TODO:
-# rename adduser adduser.sh
-# rename adduser.1 adduser.8
+#      $Id$
 
-MAN1=  adduser.1
+SCRIPTS= adduser.perl rmuser.perl addgroup.tcl rmgroup.sh
+MAN8=   adduser.8    rmuser.8    addgroup.8   rmgroup.8
 
 beforeinstall:
-       install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
-           ${.CURDIR}/adduser ${DESTDIR}${BINDIR}/adduser
+.for script in ${SCRIPTS}
+       ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+           ${.CURDIR}/${script} ${DESTDIR}${BINDIR}/${script:R}
+.endfor
 
 .include <bsd.prog.mk>