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}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to