git: f423d7a58c - main - porters-handbook: Fix INSTALL_DATA
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Dec 2022 19:26:32 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/doc/commit/?id=f423d7a58c981e46df1fca6a5d2e374fc35e4666
commit f423d7a58c981e46df1fca6a5d2e374fc35e4666
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-12-29 19:23:30 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-12-29 19:23:30 +0000
porters-handbook: Fix INSTALL_DATA
This example here is wrong. INSTALL_MAN is supposed to be meant for
installing manpages only. And for all other filetypes related to DOCS it
should be INSTALL_DATA.
Approved by: portmgr bcr
Differential Revision: https://reviews.freebsd.org/D37749
---
documentation/content/en/books/porters-handbook/makefiles/_index.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
index 87430f5d20..1ee7181f99 100644
--- a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
@@ -5247,7 +5247,7 @@ Hence `.if` blocks are only needed when the installed files are large enough to
....
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/docs/xvdocs.ps ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${STAGEDIR}${DOCSDIR}
....
On the other hand, if there is a DOCS option in the port, install the documentation in a `post-install-DOCS-on` target.