* 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>
37 lines
764 B
Makefile
37 lines
764 B
Makefile
# $FreeBSD: www/en/copyright/Makefile,v 1.11 2001/06/14 03:09:55 dd Exp $
|
|
|
|
.if exists(../Makefile.conf)
|
|
.include "../Makefile.conf"
|
|
.endif
|
|
.if exists(../Makefile.inc)
|
|
.include "../Makefile.inc"
|
|
.endif
|
|
|
|
DOCS= license.sgml
|
|
DOCS+= freebsd-license.sgml
|
|
DOCS+= daemon.sgml
|
|
DOCS+= copyright.sgml
|
|
|
|
INDEXLINK= copyright.html
|
|
|
|
CVS_READONLY?= YES
|
|
CVS_OPT+= -Q
|
|
.if !empty(CVS_READONLY)
|
|
CVS_OPT+= -R
|
|
.endif
|
|
|
|
DATA+= COPYING COPYING.LIB ${LEGAL}
|
|
|
|
# FreeBSD Ports redistribution restrictions
|
|
LEGAL= LEGAL
|
|
LEGAL_FILE= ports/LEGAL
|
|
CLEANFILES+= ${LEGAL}
|
|
.if defined(NOPORTSCVS)
|
|
${LEGAL}: $${PORTSBASE}/${LEGAL_FILE}
|
|
${CP} ${PORTSBASE}/${LEGAL_FILE} ${LEGAL}
|
|
.else
|
|
${LEGAL}:
|
|
${CVS} ${CVS_OPT} co -p ${LEGAL_FILE} > ${.TARGET}
|
|
.endif
|
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|