blob: 7da2a299080ccb42a0e7fc7d2a17bbbf4beeabf8 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh -e
make CFLAGS="$CFLAGS -static"
install -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"
ln -s nawk.1 "$1/usr/share/man/man1/awk.1"
|