svn commit: r291780 - stable/9/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Dec 4 17:58:27 UTC 2015


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}


More information about the svn-src-stable-9 mailing list