From owner-svn-doc-all@freebsd.org Thu Oct 5 20:07:59 2017 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF8EEE4175C; Thu, 5 Oct 2017 20:07:59 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C73484EC9; Thu, 5 Oct 2017 20:07:59 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v95K7wON038022; Thu, 5 Oct 2017 20:07:58 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v95K7wdI038021; Thu, 5 Oct 2017 20:07:58 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <201710052007.v95K7wdI038021@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Thu, 5 Oct 2017 20:07:58 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r51055 - head/en_US.ISO8859-1/htdocs/releases/12.0R X-SVN-Group: doc-head X-SVN-Commit-Author: gjb X-SVN-Commit-Paths: head/en_US.ISO8859-1/htdocs/releases/12.0R X-SVN-Commit-Revision: 51055 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 20:07:59 -0000 Author: gjb Date: Thu Oct 5 20:07:58 2017 New Revision: 51055 URL: https://svnweb.freebsd.org/changeset/doc/51055 Log: Reapply r51054, with a few fixes. Fix a typo: s/elfi/elif/ Remove dependencies from the dev-auto.ent target, which seems I misread the original version of how this was invoked. Sponsored by: The FreeBSD Foundation Modified: head/en_US.ISO8859-1/htdocs/releases/12.0R/Makefile Modified: head/en_US.ISO8859-1/htdocs/releases/12.0R/Makefile ============================================================================== --- head/en_US.ISO8859-1/htdocs/releases/12.0R/Makefile Thu Oct 5 19:57:39 2017 (r51054) +++ head/en_US.ISO8859-1/htdocs/releases/12.0R/Makefile Thu Oct 5 20:07:58 2017 (r51055) @@ -7,6 +7,8 @@ .include "../Makefile.inc" .endif +RELN_ROOT?= ${.CURDIR} + _OS?= FreeBSD _REVISION?= 12.0 _BRANCH?= RELEASE @@ -51,6 +53,64 @@ _ARM?= BANANAPI \ . for _A in ${_ARM} #DATA+= CHECKSUM.${CHECKSUM}-${THISRELEASE}-arm-armv6-${_A}.asc . endfor +.endfor + +_hardware?= hardware +.if !defined(MAN4DIR) || empty(MAN4DIR) +. if exists(${DOC_PREFIX}/../src/share/man/man4) +MAN4DIR= ${DOC_PREFIX}/../src/share/man/man4 +. elif exists(${DOC_PREFIX}/../share/man/man4) +MAN4DIR= ${DOC_PREFIX}/../share/man/man4 +. elif exists(${DOC_PREFIX}/../man/man4) +MAN4DIR= ${DOC_PREFIX}/../man/man4 +. elif exists(${DOC_PREFIX}/../man4) +MAN4DIR= ${DOC_PREFIX}/../man4 +. else +. warning "MAN4DIR not found. Unable to build hardware.html" +_hardware= # empty +. endif +.endif + +D= errata +D+= ${_hardware} +D+= readme +D+= relnotes + +MAN4PAGES?= ${MAN4DIR}/*.4 ${MAN4DIR}/man4.*/*.4 +ARCHLIST?= ${.CURDIR}/../../share/misc/dev.archlist.txt +CLEANFILES+= dev-auto.ent + +MAN2HWNOTES_CMD=${.CURDIR}/../../share/misc/man2hwnotes.pl +.if defined(HWNOTES_MI) +MAN2HWNOTES_FLAGS= +.else +MAN2HWNOTES_FLAGS= -c +.endif + +dev-auto.ent: + ${PERL} ${MAN2HWNOTES_CMD} ${MAN2HWNOTES_FLAGS} -a ${ARCHLIST} -o ${.TARGET} ${MAN4PAGES} + +.ORDER: all dev-auto.ent +.ORDER: all ${DOC}.html + +beforebuild: dev-auto.ent + +beforeclean: +.for _SD in ${D} + ${MAKE} -C ${_SD} DOCINSTALLDIR=${DOCINSTALLDIR} clean +.endfor + +beforeinstall: +.for _SD in ${D} +. if (${_SD:Mhardware} != "") + ${MAKE} -B -C ${.CURDIR} dev-auto.ent +. endif + ${MAKE} -C ${_SD} DOCINSTALLDIR=${DOCINSTALLDIR} all +.endfor + +afterinstall: +.for _SD in ${D} + ${MAKE} -C ${_SD} DOCINSTALLDIR=${DOCINSTALLDIR} install .endfor .include "${DOC_PREFIX}/share/mk/web.site.mk"