aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 00:31:34 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 00:31:34 +0300
commit1ee53c1e9442c6f18260f09de946325e78953014 (patch)
treea4df5f0249bdd04d6b1ab650842bcbff24c3c199 /extra
parenteb37cacbf22ebaa1e525016953b8b52c65747693 (diff)
downloadrepository-1ee53c1e9442c6f18260f09de946325e78953014.tar.gz
nawk: use clinst, clman
Diffstat (limited to 'extra')
-rwxr-xr-xextra/nawk/build5
1 files 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"