aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
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"