aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-08-09 21:20:30 +0300
committerCem Keylan <cem@ckyln.com>2021-08-09 21:20:30 +0300
commit3d4817ed115e1f24fc691e4cffd3704db57ae19a (patch)
tree7849f01ba2c20e3f9585f9f6f0d7e82b31328f8f
parentac98606dc914ca3674a62c67779356a11f582ce0 (diff)
downloadrepository-3d4817ed115e1f24fc691e4cffd3704db57ae19a.tar.gz
nawk: use byacc
-rwxr-xr-xextra/nawk/build2
-rw-r--r--extra/nawk/depends1
2 files changed, 2 insertions, 1 deletions
diff --git a/extra/nawk/build b/extra/nawk/build
index 3b6e2372..a5c7444d 100755
--- a/extra/nawk/build
+++ b/extra/nawk/build
@@ -1,5 +1,7 @@
#!/bin/sh -e
+yacc -o awkgram.tab.c -H awkgram.tab.h awkgram.y
+
make CFLAGS="$CFLAGS -static"
clinst -Dm755 "a.out" "$1/usr/bin/nawk"
ln -s /usr/bin/nawk "$1/usr/bin/awk"
diff --git a/extra/nawk/depends b/extra/nawk/depends
deleted file mode 100644
index bccf6175..00000000
--- a/extra/nawk/depends
+++ /dev/null
@@ -1 +0,0 @@
-bison make