]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
More NO_NIS cleanup: LINKS and MLINKS
authorAndrey A. Chernov <ache@FreeBSD.org>
Wed, 29 Dec 2004 08:13:20 +0000 (08:13 +0000)
committerAndrey A. Chernov <ache@FreeBSD.org>
Wed, 29 Dec 2004 08:13:20 +0000 (08:13 +0000)
chpass/Makefile

index a012ad8c011fab2a3af79421c91ea81282d36efc..3ffb0ef765973472fcce6c33e9a9e106c7291b4b 100644 (file)
@@ -24,12 +24,16 @@ LDADD+=     -lypclnt
 
 LINKS= ${BINDIR}/chpass ${BINDIR}/chfn
 LINKS+=        ${BINDIR}/chpass ${BINDIR}/chsh
+.if !defined(NO_NIS)
 LINKS+=        ${BINDIR}/chpass ${BINDIR}/ypchpass
 LINKS+=        ${BINDIR}/chpass ${BINDIR}/ypchfn
 LINKS+=        ${BINDIR}/chpass ${BINDIR}/ypchsh
+.endif
 
 MLINKS=        chpass.1 chfn.1 chpass.1 chsh.1
+.if !defined(NO_NIS)
 MLINKS+= chpass.1 ypchpass.1 chpass.1 ypchfn.1 chpass.1 ypchsh.1
+.endif
 
 beforeinstall:
 .for i in chpass chfn chsh ypchpass ypchfn ypchsh