#!/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" |