summaryrefslogtreecommitdiff
path: root/e2fslib/et/compile_et.sh.in
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-11-21 16:55:40 +0100
committerGuido Guenther <agx@sigxcpu.org>2007-11-21 16:55:40 +0100
commit498267851d48ee60376dc96411fb8693a5e95a3c (patch)
tree9f1533b742a37b5213dc651e84aff9401df7e640 /e2fslib/et/compile_et.sh.in
parent4bf1c0b76bed01bd30c28a089639b88d326ba2c3 (diff)
remove unneeded e2fslib
Diffstat (limited to 'e2fslib/et/compile_et.sh.in')
-rw-r--r--e2fslib/et/compile_et.sh.in31
1 files changed, 0 insertions, 31 deletions
diff --git a/e2fslib/et/compile_et.sh.in b/e2fslib/et/compile_et.sh.in
deleted file mode 100644
index ad445fa..0000000
--- a/e2fslib/et/compile_et.sh.in
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-#
-AWK=@AWK@
-DIR="${DIR-@datadir@/et}"
-ET_DIR="@ET_DIR@"
-
-if test "x$1" = x ; then
- echo "Usage: compile_et file"
- exit 1
-fi
-
-if test ! -f "$DIR/et_h.awk" -o ! -f "$DIR/et_c.awk" ; then
- DIR="$ET_DIR"
-# echo "Falling back to $DIR..."
- if test ! -f "$DIR/et_h.awk" -o ! -f "$DIR/et_c.awk" ; then
- echo "compile_et: Couldn't find compile_et's template files."
- exit 1
- fi
-fi
-
-ROOT=`echo $1 | sed -e s/.et$//`
-BASE=`basename $ROOT`
-
-if test ! -f "$ROOT.et" ; then
- echo "compile_et: $ROOT.et: File not found"
- exit 1;
-fi
-
-$AWK -f "${DIR}/et_h.awk" "outfile=${BASE}.h" "$ROOT.et"
-$AWK -f "${DIR}/et_c.awk" "outfile=${BASE}.c" "$ROOT.et"