Hook up files (Perl modules) for the new query-pr.cgi script. A bit of
extra code to handle the fact that the files are in subdirectories was required.
This commit is contained in:
parent
defc87e9c4
commit
ff586348e5
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=37446
2 changed files with 23 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/cgi/Makefile,v 1.33 2007/01/11 00:17:29 trhodes Exp $
|
||||
# $FreeBSD: www/en/cgi/Makefile,v 1.34 2007/03/19 05:44:58 dougb Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
|
@ -9,12 +9,25 @@
|
|||
|
||||
DATA=
|
||||
DATA+= Gnats.pm
|
||||
DATA+= GnatsPR.pm
|
||||
DATA+= cgi-lib.pl
|
||||
DATA+= cgi-style.pl
|
||||
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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $FreeBSD: www/share/mk/web.site.mk,v 1.75 2006/08/24 20:02:06 hrs Exp $
|
||||
# $FreeBSD: www/share/mk/web.site.mk,v 1.76 2006/09/22 21:05:04 hrs Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
|
@ -358,6 +358,14 @@ realinstall: ${COOKIE} ${_ALLINSTALL} ${CGI} _PROGSUBDIR
|
|||
.endif
|
||||
.if defined(CGI) && !empty(CGI)
|
||||
@${MKDIR} -p ${CGIINSTALLDIR}
|
||||
.if defined(CGI_SUBDIRS) && !empty(CGI_SUBDIRS)
|
||||
.for sd in ${CGI_SUBDIRS}
|
||||
@${MKDIR} ${CGIINSTALLDIR}/${sd}
|
||||
.endfor
|
||||
.for sf in ${CGI_SUBFILES}
|
||||
${INSTALL_CGI} ${CGIINSTALLDIR}/${sf} ${CGIINSTALLDIR}/${sf}
|
||||
.endfor
|
||||
.endif
|
||||
.for entry in ${CGI}
|
||||
${INSTALL_CGI} ${.CURDIR}/${entry} ${CGIINSTALLDIR}
|
||||
.endfor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue