* Use make variables instead of hard coding commands, paths, and options. * Wrap some long lines. * Replace shell loops with make for loops, etc. PR: docs/31132 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
23 lines
685 B
Makefile
23 lines
685 B
Makefile
# $FreeBSD: www/en/cgi/Makefile,v 1.17 2000/11/07 04:05:09 kuriyama Exp $
|
|
|
|
.if exists(../Makefile.conf)
|
|
.include "../Makefile.conf"
|
|
.endif
|
|
.if exists(../Makefile.inc)
|
|
.include "../Makefile.inc"
|
|
.endif
|
|
|
|
DATA= ftp.mirrors
|
|
DATA+= cvsweb.conf cvsweb.conf-freebsd cvsweb.conf-netbsd cvsweb.conf-openbsd
|
|
CGI= ftp.cgi gallery.cgi mirror.cgi cgi-lib.pl cgi-style.pl
|
|
CGI+= search.cgi cvsweb.cgi query-pr.cgi query-pr-summary.cgi
|
|
CGI+= dosendpr.cgi freebsd.def html.pl reg.cgi missing_handler.cgi
|
|
CGI+= ports.cgi pds.cgi man.cgi url.cgi getmsg.cgi mid.cgi
|
|
CGI+= mailindex.cgi
|
|
|
|
.SUFFIXES: .C .cgi
|
|
|
|
.C.cgi:
|
|
${CXX} ${CFLAGS} -o ${.TARGET} ${.IMPSRC}
|
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|