summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rwxr-xr-xsetup18
1 files changed, 18 insertions, 0 deletions
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