#! /bin/sh
VER=$1
REL=$2

# make like #define VERSION "2.0.7-ja-1.2"

TARGET=source/include/version.h
echo \#define VERSION \"${VER}-ja-${REL}\" > $TARGET

# change package info

cd packaging/
bin/update-pkginfo $VER $REL
# end of script

