Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 2016 22:13:26 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429384 - head/databases/sqlite2
Message-ID:  <201612242213.uBOMDQCM054958@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sat Dec 24 22:13:25 2016
New Revision: 429384
URL: https://svnweb.freebsd.org/changeset/ports/429384

Log:
  Use ALL_TARGET instead of defining post-build to build documentation.

Modified:
  head/databases/sqlite2/Makefile

Modified: head/databases/sqlite2/Makefile
==============================================================================
--- head/databases/sqlite2/Makefile	Sat Dec 24 22:06:19 2016	(r429383)
+++ head/databases/sqlite2/Makefile	Sat Dec 24 22:13:25 2016	(r429384)
@@ -48,6 +48,7 @@ PLIST_SUB+=	WITH_TCLWRAPPER="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MDOCS}
+ALL_TARGET=	doc
 PORTDOCS=	*
 MAKE_ARGS+=	TCLSH=${TCLSH}
 MAKE_ENV+=	TCL_VER=${TCL_VER}
@@ -71,12 +72,6 @@ post-patch:
 		>> ${WRKSRC}/freebsd.hints
 .endif
 
-post-build:
-.if ${PORT_OPTIONS:MDOCS}
-	@${ECHO_MSG} "===> Building docs"
-	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} doc)
-.endif
-
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sqlite
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsqlite.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612242213.uBOMDQCM054958>