blob: 4d955cbafcc7fcc86c527a36c2451a5c95b790f0 [file] [log] [blame] [edit]
#!/bin/sh
VERSION="3.10"
SUFFIX=
if test "x$1" = x--suffix; then
shift
SUFFIX="-$1"
shift
fi
OUT="$1"
if test "x$SUFFIX" != 'x'; then
v="$VERSION$SUFFIX"
else
v="$VERSION"
fi
echo '#include "iw.h"' > "$OUT"
echo "const char iw_version[] = \"$v\";" >> "$OUT"