# 2010 09 21 Mouse cd moussh # This next line must be the first line containing the four-character # string it begins with (which I phrase this way to avoid putting it # in this comment and thereby breaking this property). This is # important because the Makefile finds it by searching for the first # line containing that, so it can get the version the same way we do # without having to duplicate the code for it here and there. VER=`cat VERSION`.`git log -1 --abbrev=10 --pretty=%h` make depend && make install && make clean rm -f ${LOCALROOT:-/local}/.bin/moussh-$VER/ssh ln -s moussh ${LOCALROOT:-/local}/.bin/moussh-$VER/ssh # Create updated WHERE_I_CAME_FROM for the sake of publish. sed -e "/^version/s@:.*@: $VER@"\ -e "/^date/s@:.*@: "`date +%Y/%m/%d`@\ < ../WHERE_I_CAME_FROM.master > ../WHERE_I_CAME_FROM