Use ALL_TARGET instead of defining post-build to build documentation.
This commit is contained in:
parent
9154f94b96
commit
bf21e867a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429384
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue