Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2015 17:58:26 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r291780 - stable/9/share/mk
Message-ID:  <201512041758.tB4HwQ8m012931@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Dec  4 17:58:25 2015
New Revision: 291780
URL: https://svnweb.freebsd.org/changeset/base/291780

Log:
  MFC r289375:
  
    Fix wrong use of .for; the iteration variable is not used in the loop.

Modified:
  stable/9/share/mk/bsd.doc.mk
Directory Properties:
  stable/9/share/mk/   (props changed)

Modified: stable/9/share/mk/bsd.doc.mk
==============================================================================
--- stable/9/share/mk/bsd.doc.mk	Fri Dec  4 17:57:41 2015	(r291779)
+++ stable/9/share/mk/bsd.doc.mk	Fri Dec  4 17:58:25 2015	(r291780)
@@ -133,11 +133,11 @@ CLEANFILES+=	${DOC}.ascii ${DOC}.ascii${
 		${DOC}.html ${DOC}-*.html
 
 realinstall:
-.for _dev in ${PRINTERDEVICE:Mhtml}
+.if ${PRINTERDEVICE:Mhtml}
 	cd ${SRCDIR}; \
 	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
 	    ${DOC}*.html ${DESTDIR}${BINDIR}/${VOLUME}
-.endfor
+.endif
 .for _dev in ${PRINTERDEVICE:Nhtml}
 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
 	    ${DFILE.${_dev}} ${DESTDIR}${BINDIR}/${VOLUME}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512041758.tB4HwQ8m012931>