xref: /openbsd/bin/chmod/Makefile (revision b39c5158)
1#	$OpenBSD: Makefile,v 1.7 2001/09/06 18:52:55 mickey Exp $
2
3PROG=	chmod
4CFLAGS+=-DSUPPORT_DOT
5MAN=	chmod.1 chgrp.1 chown.8 chflags.1
6LINKS=	${BINDIR}/chmod ${BINDIR}/chgrp \
7	${BINDIR}/chmod /sbin/chown
8
9# XXX compatibility
10afterinstall:
11	(cd ${DESTDIR}/usr/sbin; \
12	    ln -sf ../../sbin/chown .; \
13	    ln -sf ../../bin/chgrp .)
14	(cd ${DESTDIR}/usr/bin; \
15	    ln -sf ../../bin/chmod chflags)
16
17
18.include <bsd.prog.mk>
19