diff options
author | Michael Adam <obnox@samba.org> | 2008-05-18 23:39:15 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-05-18 23:39:15 +0200 |
commit | be175e274e627192e107d0e037ca1437bfad07c4 (patch) | |
tree | 2b1c3e118331702351f74c7027a06794828a54f6 /source3/script/mkproto.sh | |
parent | 76977cbf6a8d97408d320981340f0b2ad5f1ef2c (diff) | |
download | samba-be175e274e627192e107d0e037ca1437bfad07c4.tar.gz samba-be175e274e627192e107d0e037ca1437bfad07c4.tar.bz2 samba-be175e274e627192e107d0e037ca1437bfad07c4.zip |
build: remove mkproto.sh and mkproto.awk
Michael
(This used to be commit 5f2983209fb2c8e2ceafde6136c40a59b38f3a68)
Diffstat (limited to 'source3/script/mkproto.sh')
-rwxr-xr-x | source3/script/mkproto.sh | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/source3/script/mkproto.sh b/source3/script/mkproto.sh deleted file mode 100755 index 8561f42dff..0000000000 --- a/source3/script/mkproto.sh +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/sh - -LANG=C; export LANG -LC_ALL=C; export LC_ALL -LC_COLLATE=C; export LC_COLLATE - -if [ $# -lt 3 ] -then - echo "Usage: $0 awk [-h headerdefine] outputheader proto_obj" - exit 1 -fi - -awk="$1" -shift - -if [ x"$1" = x-h ] -then - headeropt="-v headername=$2" - shift; shift; -else - headeropt="" -fi - -header="$1" -shift -headertmp="$header.$$.tmp~" - -proto_src="`echo $@ | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort | uniq | egrep -v 'tdb/|wrapped|modules/getdate' | egrep -v '\.a$'`" - -echo creating $header - -mkdir -p `dirname $header` - -${awk} $headeropt \ - -f script/mkproto.awk $proto_src > $headertmp - -if cmp -s $header $headertmp 2>/dev/null -then - echo "$header unchanged" - rm $headertmp -else - mv $headertmp $header -fi |