git: 681bc65c0d - main - porters-handbook: Fix some variable expansions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Apr 2022 20:04:19 UTC
The branch main has been updated by salvadore (ports committer):
URL: https://cgit.FreeBSD.org/doc/commit/?id=681bc65c0ddd2add8cc271d421dec5207694577d
commit 681bc65c0ddd2add8cc271d421dec5207694577d
Author: Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2022-04-21 16:49:08 +0000
Commit: Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2022-04-21 20:01:51 +0000
porters-handbook: Fix some variable expansions
The Porter's Handbook expands the variables DATADIR, DOCSDIR and
EXAMPLESDIR as PREFIX/shared/PORTNAME, PREFIX/shared/doc/PORTNAME and
PREFIX/shared/examples/PORTNAME respectively.
As it can be checked by running "make -V" in any port directory, they
are expanded into PREFIX/shared/PORTNAME, PREFIX/shared/doc/PORTNAME and
PREFIX/shared/examples/PORTNAME instead.
Approved by: doc (dbaio), gerald (mentor)
Differential Revision: https://reviews.freebsd.org/D35022
---
.../content/en/books/porters-handbook/makefiles/_index.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
index fb3eedfa11..8c423ed961 100644
--- a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
@@ -5210,11 +5210,11 @@ These targets are described in <<options-targets>>.
Here are some handy variables and how they are expanded by default when used in the [.filename]#Makefile#:
-* `DATADIR` gets expanded to [.filename]#PREFIX/shared/PORTNAME#.
+* `DATADIR` gets expanded to [.filename]#PREFIX/share/PORTNAME#.
* `DATADIR_REL` gets expanded to [.filename]#share/PORTNAME#.
-* `DOCSDIR` gets expanded to [.filename]#PREFIX/shared/doc/PORTNAME#.
+* `DOCSDIR` gets expanded to [.filename]#PREFIX/share/doc/PORTNAME#.
* `DOCSDIR_REL` gets expanded to [.filename]#share/doc/PORTNAME#.
-* `EXAMPLESDIR` gets expanded to [.filename]#PREFIX/shared/examples/PORTNAME#.
+* `EXAMPLESDIR` gets expanded to [.filename]#PREFIX/share/examples/PORTNAME#.
* `EXAMPLESDIR_REL` gets expanded to [.filename]#share/examples/PORTNAME#.
[NOTE]