[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / bgplg

File: [local] / src / usr.bin / bgplg / Makefile (download)

Revision 1.1, Mon Dec 11 23:10:10 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1

import a looking glass for bgpd(8) (CGI web interface), see the
bgplg(8) and bgplgsh(8) manpages for installation and usage
instructions.

this has been tested by various users and on openbgp route servers in
the DE-CIX.

ok deraadt@ henning@

#	$OpenBSD: Makefile,v 1.1 2006/12/11 23:10:10 reyk Exp $

.include <bsd.own.mk>

SUBDIR=		bgplg bgplgsh bgpctl ping traceroute

INCFILES=	bgplg.head \
		bgplg.foot \
		bgplg.css

WWWDIR=		${DESTDIR}/var/www/htdocs/bgplg
WWWFILES=	openbgpd.gif \
		index.html

distribution:
	for i in ${INCFILES}; do \
		${INSTALL} -C -o root -g wheel -m 0644 $$i ${DESTDIR}/var/www/conf/; \
	done
	${INSTALL} -d -o root -g wheel -m 0755 ${WWWDIR}
	for i in ${WWWFILES}; do \
		${INSTALL} -C -o root -g wheel -m 0644 $$i ${WWWDIR}; \
	done

.include <bsd.subdir.mk>