unset(1) returns '1' if the variable doesn't exist, so use the '||'
operator rather than the '&&' operator.
This commit is contained in:
parent
0bf7c39826
commit
816c39efb9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=8836
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# $FreeBSD: www/en/docs/Makefile,v 1.1 2001/02/22 15:44:37 nik Exp $i
|
||||
# $FreeBSD: www/en/docs/Makefile,v 1.2 2001/02/23 10:13:49 nik Exp $i
|
||||
#
|
||||
# Build the FreeBSD documentation *outside* of the www tree, and install it
|
||||
# in to the right place as necessary.
|
||||
|
@ -10,4 +10,4 @@
|
|||
#
|
||||
|
||||
all install clean:
|
||||
(cd ../../../doc/en_US.ISO_8859-1 && unset DESTDIR && ${MAKE} FORMATS=html-split DOCDIR=${DESTDIR}/data/docs ${.TARGET})
|
||||
(cd ../../../doc/en_US.ISO_8859-1 && unset DESTDIR || ${MAKE} FORMATS=html-split DOCDIR=${DESTDIR}/data/docs ${.TARGET})
|
||||
|
|
Loading…
Reference in a new issue