Use bsd.subdir.mk for sub-directory handling.
Discussed with: shaun
This commit is contained in:
parent
59792d145d
commit
11bd242bdf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=37474
6 changed files with 38 additions and 22 deletions
14
en/cgi/GnatsPR/Makefile
Normal file
14
en/cgi/GnatsPR/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
.endif
|
||||
.if exists(../Makefile.inc)
|
||||
.include "../Makefile.inc"
|
||||
.endif
|
||||
|
||||
SUBDIR= Section
|
||||
|
||||
DATA= MIMEIterator.pm Section.pm
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
4
en/cgi/GnatsPR/Makefile.inc
Normal file
4
en/cgi/GnatsPR/Makefile.inc
Normal file
|
@ -0,0 +1,4 @@
|
|||
# $FreeBSD$
|
||||
|
||||
WEBBASE?= /data/cgi/GnatsPR
|
||||
WEB_PREFIX?= ${.CURDIR}/../../../..
|
12
en/cgi/GnatsPR/Section/Makefile
Normal file
12
en/cgi/GnatsPR/Section/Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
.endif
|
||||
.if exists(../Makefile.inc)
|
||||
.include "../Makefile.inc"
|
||||
.endif
|
||||
|
||||
DATA= Email.pm FieldStart.pm MIME.pm Patch.pm StateChange.pm Text.pm
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/cgi/Makefile,v 1.34 2007/03/19 05:44:58 dougb Exp $
|
||||
# $FreeBSD: www/en/cgi/Makefile,v 1.35 2011/07/20 23:52:12 shaun Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
@ -16,18 +16,6 @@ DATA+= cvsweb.conf
|
|||
DATA+= cvsweb.conf-freebsd
|
||||
DATA+= query-pr-lib.pl
|
||||
|
||||
CGI_SUBDIRS= GnatsPR GnatsPR/Section
|
||||
|
||||
CGI_SUBFILES+= GnatsPR/MIMEIterator.pm
|
||||
CGI_SUBFILES+= GnatsPR/Section.pm
|
||||
CGI_SUBFILES+= GnatsPR/Section/Email.pm
|
||||
CGI_SUBFILES+= GnatsPR/Section/FieldStart.pm
|
||||
CGI_SUBFILES+= GnatsPR/Section/MIME.pm
|
||||
CGI_SUBFILES+= GnatsPR/Section/Patch.pm
|
||||
CGI_SUBFILES+= GnatsPR/Section/StateChange.pm
|
||||
CGI_SUBFILES+= GnatsPR/Section/Text.pm
|
||||
CGI_SUBFILES+= GnatsPR/SectionIterator.pm
|
||||
|
||||
CGI=
|
||||
CGI+= confirm-code.cgi
|
||||
CGI+= cvsweb.cgi
|
||||
|
@ -46,6 +34,8 @@ CGI+= query-pr-summary.cgi
|
|||
CGI+= search.cgi
|
||||
CGI+= url.cgi
|
||||
|
||||
SUBDIR= GnatsPR
|
||||
|
||||
.SUFFIXES: .C .cgi
|
||||
|
||||
.C.cgi:
|
||||
|
|
4
en/cgi/Makefile.inc
Normal file
4
en/cgi/Makefile.inc
Normal file
|
@ -0,0 +1,4 @@
|
|||
# $FreeBSD$
|
||||
|
||||
WEBBASE?= /data/cgi
|
||||
WEB_PREFIX?= ${.CURDIR}/../../..
|
Loading…
Add table
Add a link
Reference in a new issue