From 1ee53c1e9442c6f18260f09de946325e78953014 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 24 Jul 2021 00:31:34 +0300 Subject: nawk: use clinst, clman --- extra/nawk/build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extra/nawk/build b/extra/nawk/build index 7da2a299..3b6e2372 100755 --- a/extra/nawk/build +++ b/extra/nawk/build @@ -1,8 +1,9 @@ #!/bin/sh -e make CFLAGS="$CFLAGS -static" -install -Dm755 "a.out" "$1/usr/bin/nawk" +clinst -Dm755 "a.out" "$1/usr/bin/nawk" ln -s /usr/bin/nawk "$1/usr/bin/awk" -install -Dm644 "awk.1" "$1/usr/share/man/man1/nawk.1" +mv awk.1 nawk.1 +clman -d "$1" nawk.1 ln -s nawk.1 "$1/usr/share/man/man1/awk.1" -- cgit v1.2.3