git: f423d7a58c - main - porters-handbook: Fix INSTALL_DATA

Muhammad Moinur Rahman <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/doc/commit/?id=f423d7a58c981e46df1fca6a5d2e374fc35e4666

commit f423d7a58c981e46df1fca6a5d2e374fc35e4666
Author:     Muhammad Moinur Rahman <[email protected]>
AuthorDate: 2022-12-29 19:23:30 +0000
Commit:     Muhammad Moinur Rahman <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.