Use a conditional assignment "?=" when defining $CATALOG
Set variable $PREFIX
This commit is contained in:
parent
6987ddd318
commit
360dd95722
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=5671
2 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: www/en/web.mk,v 1.23 1999/09/06 07:02:37 peter Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
@ -60,7 +60,8 @@ PORTSBASE?= /usr
|
|||
|
||||
.SUFFIXES: .sgml .html
|
||||
SGMLNORM= sgmlnorm
|
||||
CATALOG?= /usr/local/share/sgml/html/catalog
|
||||
PREFIX?= /usr/local
|
||||
CATALOG?= ${PREFIX}/share/sgml/html/catalog
|
||||
SGMLNORMFLAGS= -d ${SGMLNORMOPTS} -c ${CATALOG}
|
||||
GENDOCS+= ${DOCS:M*.sgml:S/.sgml$/.html/g}
|
||||
ORPHANS:= ${ORPHANS:N*.sgml}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: www/en/web.mk,v 1.23 1999/09/06 07:02:37 peter Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
@ -60,7 +60,8 @@ PORTSBASE?= /usr
|
|||
|
||||
.SUFFIXES: .sgml .html
|
||||
SGMLNORM= sgmlnorm
|
||||
CATALOG?= /usr/local/share/sgml/html/catalog
|
||||
PREFIX?= /usr/local
|
||||
CATALOG?= ${PREFIX}/share/sgml/html/catalog
|
||||
SGMLNORMFLAGS= -d ${SGMLNORMOPTS} -c ${CATALOG}
|
||||
GENDOCS+= ${DOCS:M*.sgml:S/.sgml$/.html/g}
|
||||
ORPHANS:= ${ORPHANS:N*.sgml}
|
||||
|
|
Loading…
Reference in a new issue