From 79913c34fd9e4e0052b4f860c555881028de7971 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Thu, 6 Jan 2005 14:54:57 +0000 Subject: [PATCH] - Fix a comment typo. - Fix bogus ${FOO:Mbar} tests where the actual intent is to check if the result set is empty. While here, replace non-bogus empty string comparisons with equivalent empty() checks. [FreeBSD rev. 1.68] --- share/mk/bsd.info.mk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index e4cb7307d2..c2a047206c 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -1,7 +1,7 @@ # $FreeBSD: src/share/mk/bsd.info.mk,v 1.57.2.7 2003/05/21 13:00:46 ru Exp $ -# $DragonFly: src/share/mk/bsd.info.mk,v 1.4 2005/01/06 01:20:01 swildner Exp $ +# $DragonFly: src/share/mk/bsd.info.mk,v 1.5 2005/01/06 14:54:57 swildner Exp $ # -# The include file handles installing GNU (tech)info files. +# The include file handles installing GNU (tex)info files. # Texinfo is a documentation system that uses a single source # file to produce both on-line information and printed output. # @@ -168,24 +168,24 @@ ${INFO}.texi: ${SRCS} .endif # tex garbage -.if ${FORMATS:Mps} || ${FORMATS:Mdvi} || ${FORMATS:Mlatin1} +.if !empty(FORMATS:Mps) || !empty(FORMATS:Mdvi) || !empty(FORMATS:Mlatin1) .for _f in aux cp fn ky log out pg toc tp vr dvi CLEANFILES+= ${INFO:S/$/.${_f}/} ${INFO:S/$/-la.${_f}/} .endfor CLEANFILES+= ${INFO:S/$/-la.texi/} ${INFO:S/$/-la.sed/} .endif -.if ${FORMATS:Mhtml} +.if !empty(FORMATS:Mhtml) CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/} .endif .if !defined(NOINFO) && defined(INFO) install: ${INSTALLINFODIRS} -.if ${IFILES:N*.html} +.if !empty(IFILES:N*.html) ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ ${IFILES:N*.html} ${DESTDIR}${INFODIR} .endif -.if ${FORMATS:Mhtml} +.if !empty(FORMATS:Mhtml) ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ ${INFO:S/$/.info.*.html/} ${DESTDIR}${INFODIR} .endif -- 2.28.0