summary refs log tree commit diff
path: root/debian/bsdyacc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/bsdyacc20
1 files changed, 0 insertions, 20 deletions
diff --git a/debian/bsdyacc b/debian/bsdyacc
deleted file mode 100644
index ce71f4c..0000000
--- a/debian/bsdyacc
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh -e
-
-if echo "$@" | grep -q -- -o; then
-	OUTPUT=$(echo "$@" |
-		 sed 's/.*-o[[:blank:]]\+\([^[:blank:]]\+\)\.c.*/\1/')
-	OPTIONS=$(echo "$@" |
-		 sed 's/\(.*\)-o[[:blank:]]\+[^[:blank:]]\+\(.*\)/\1\2/')
-	NEW=1
-else
-	OUTPUT=$(echo "$@" |
-		 sed -e 's/.*[[:blank:]]\+\([^[:blank:]]\+\)\.y.*/\1/')
-	OPTIONS="$@"
-	NEW=0
-fi
-
-byacc $OPTIONS
-if [ $NEW = 1 ]; then
-	mv y.tab.c $OUTPUT.c
-fi
-mv y.tab.h $OUTPUT.h