summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPavel Vinogradov2022-12-23 19:58:32 -0500
committerPavel Vinogradov2022-12-23 19:58:32 -0500
commit3f3d99855bf6dbd966c85afe11acf162a4f2a1d5 (patch)
treee9de8e7e00bb6f9675363066f51ec1523c879465 /doc
parent2e8439e365b2cbfe62c51e5f06c07523f4523666 (diff)
doc/man-pages: corrected installation path
Diffstat (limited to 'doc')
-rw-r--r--doc/man-pages/HISTORY1
-rwxr-xr-xdoc/man-pages/PRE_BUILD6
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/man-pages/HISTORY b/doc/man-pages/HISTORY
index d0e464b367..98b073c1f1 100644
--- a/doc/man-pages/HISTORY
+++ b/doc/man-pages/HISTORY
@@ -1,5 +1,6 @@
2022-12-23 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 6.02
+ * PRE_BUILD: corrected installation path according to our standards
2022-10-19 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 6.01
diff --git a/doc/man-pages/PRE_BUILD b/doc/man-pages/PRE_BUILD
index 5f48da8a0f..656ec6df1a 100755
--- a/doc/man-pages/PRE_BUILD
+++ b/doc/man-pages/PRE_BUILD
@@ -14,4 +14,8 @@ SOURCE="${SOURCE}.xz" &&
cd "${SOURCE_DIRECTORY}" &&
-rm man3/getspnam.3 man5/passwd.5
+rm man3/getspnam.3 man5/passwd.5 &&
+
+# use our standard path
+sed -e "0,/DESTDIR/s;=;= ${INSTALL_ROOT}/;" -e "0,/prefix/s;/local;;" \
+ -i lib/install.mk