Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2015 17:58:31 +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-10@freebsd.org
Subject:   svn commit: r291781 - stable/10/share/mk
Message-ID:  <201512041758.tB4HwVG0012979@repo.freebsd.org>

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

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

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

Modified: stable/10/share/mk/bsd.doc.mk
==============================================================================
--- stable/10/share/mk/bsd.doc.mk	Fri Dec  4 17:58:25 2015	(r291780)
+++ stable/10/share/mk/bsd.doc.mk	Fri Dec  4 17:58:31 2015	(r291781)
@@ -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.tB4HwVG0012979>