From cc95bf511e1d225e6a9a59951b23d93f85948267 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Thu, 22 Apr 2010 16:50:20 +0300 Subject: setup: a simple script for after-clone setups The extra things that need to be done after you cloned an asterisk repository generated by git-svn (using asterisk-tools) --- setup | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 setup diff --git a/setup b/setup new file mode 100755 index 0000000..ade5a78 --- /dev/null +++ b/setup @@ -0,0 +1,18 @@ +#!/bin/sh + +# Extra setup after cloning an Asterisk repository. +# Assumes you also cloned asterisk-tools to a near-by directory. +# 'AUTHORS' is generated by './gen_authors >AUTHORS' + +# Extra setup to run +TOOLS_DIR=`dirname $0` + +# Just in case you'll use git-svn here as well: +ln -s $TOOLS_DIR/AUTHORS . +git config --add svn.authorsfile AUTHORS + +ln -s $TOOLS_DIR/asterisk_gitignore .gitignore + +mkdir -p menuselect +(cd menuselect; ln -s ../$TOOLS_DIR/menuselect/* .) +make -C menuselect dummies -- cgit v1.2.3