svn commit: r289375 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Thu Oct 15 18:55:45 UTC 2015


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}


More information about the svn-src-head mailing list