xref: /openbsd/bin/chmod/Makefile (revision 73471bf0)
1#	$OpenBSD: Makefile,v 1.9 2017/05/28 08:03:36 awolk Exp $
2
3PROG=	chmod
4MAN=	chmod.1 chgrp.1 chown.8 chflags.1
5LINKS=	${BINDIR}/chmod ${BINDIR}/chgrp \
6	${BINDIR}/chmod /sbin/chown
7
8# XXX compatibility
9afterinstall:
10	(cd ${DESTDIR}/usr/sbin && \
11	    ln -sf ../../sbin/chown . && \
12	    ln -sf ../../bin/chgrp . && \
13	    chown -h ${BINOWN}:${BINGRP} chown chgrp)
14	(cd ${DESTDIR}/usr/bin && \
15	    ln -sf ../../bin/chmod chflags && \
16	    chown -h ${BINOWN}:${BINGRP} chflags)
17
18
19.include <bsd.prog.mk>
20