1#	$OpenBSD: Makefile,v 1.4 2016/09/17 15:03:39 florian Exp $
2
3.include <bsd.own.mk>
4
5SUBDIR=		bgplg bgplgsh bgpctl ping traceroute
6
7INCFILES=	bgplg.head \
8		bgplg.foot \
9		bgplg.css
10
11WWWDIR=		${DESTDIR}/var/www/htdocs/bgplg
12WWWFILES=	openbgpd.gif \
13		index.html
14
15distribution:
16	for i in ${INCFILES}; do \
17		${INSTALL} -C -o root -g wheel -m 0644 $$i ${DESTDIR}/var/www/conf/; \
18	done
19	${INSTALL} -d -o root -g wheel -m 0755 ${WWWDIR}
20	for i in ${WWWFILES}; do \
21		${INSTALL} -C -o root -g wheel -m 0644 $$i ${WWWDIR}; \
22	done
23
24.include <bsd.subdir.mk>
25