Author: bdrewery
Date: Thu Oct 15 18:55:43 2015
New Revision: 289375
URL: https://svnweb.freebsd.org/changeset/base/289375

Log:
  Fix wrong use of .for; the iteration variable is not used in the loop.
  
  MFC after:    1 week
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.doc.mk

Modified: head/share/mk/bsd.doc.mk
==============================================================================
--- head/share/mk/bsd.doc.mk    Thu Oct 15 18:53:26 2015        (r289374)
+++ head/share/mk/bsd.doc.mk    Thu Oct 15 18:55:43 2015        (r289375)
@@ -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-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to