git: 9dabf20d779b - main - textproc/asciidoc: Fix cc960c2ff3d7081ae07f0f9cc63087fc6a5341ac

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 25 Jul 2024 04:20:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9dabf20d779bf9db7075aa3f206d26bca82b9070

commit 9dabf20d779bf9db7075aa3f206d26bca82b9070
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-25 04:17:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-25 04:17:46 +0000

    textproc/asciidoc: Fix cc960c2ff3d7081ae07f0f9cc63087fc6a5341ac
    
    Reported by:    diizzy
---
 textproc/asciidoc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile
index 71644710f751..317ac2a92e1b 100644
--- a/textproc/asciidoc/Makefile
+++ b/textproc/asciidoc/Makefile
@@ -29,8 +29,8 @@ SHEBANG_FILES=	asciidoc/resources/filters/*.py \
 
 
 post-build:
-	@cd ${WRKSRC}/doc && ${PYTHON_CMD} -m asciidoc.a2x -f manpage a2x.1.txt
-	@cd ${WRKSRC}/doc && ${PYTHON_CMD} -m asciidoc.a2x -f manpage asciidoc.1.txt
+	@cd ${WRKSRC}/ && ${PYTHON_CMD} -m asciidoc.a2x -f manpage doc/a2x.1.txt
+	@cd ${WRKSRC}/ && ${PYTHON_CMD} -m asciidoc.a2x -f manpage doc/asciidoc.1.txt
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/doc/a2x.1 ${WRKSRC}/doc/asciidoc.1 ${STAGEDIR}${PREFIX}/share/man/man1/