1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:27:44 +00:00

Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR

Fixes #5710.
This commit is contained in:
Linus Groh 2021-03-11 19:50:44 +01:00 committed by Andreas Kling
parent f45e16a6a2
commit f318ab6bed
29 changed files with 65 additions and 74 deletions

View file

@ -8,9 +8,8 @@ useconfigure=true
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg indent-${version}.tar.gz.sig"
man_dir=$SERENITY_ROOT/Build/Root/usr/local/share/man/man1/
post_install() {
mkdir -p "${man_dir}"
cp "indent-${version}/man/indent.1" "${man_dir}"
man_dir="${SERENITY_BUILD_DIR}/Root/usr/local/share/man/man1/"
run mkdir -p "${man_dir}"
run cp man/indent.1 "${man_dir}"
}