summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2010-04-29 21:01:02 +0300
committerTzafrir Cohen <tzafrir@cohens.org.il>2010-04-29 21:01:02 +0300
commitfa2f67e1fdcd59ca64e4ab52bef7d89030169f45 (patch)
tree2270b5bb6a2a8ad537bd0db265a3a6c801b6a8ea
parent969e133a0f767fb03a94174e77957208373b4f05 (diff)
A setup script for dahdi-tools
-rwxr-xr-xsetup_dahdi-tools19
1 files changed, 19 insertions, 0 deletions
diff --git a/setup_dahdi-tools b/setup_dahdi-tools
new file mode 100755
index 0000000..aad713f
--- /dev/null
+++ b/setup_dahdi-tools
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Extra setup after cloning the DAHDI-tools 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/libpri_gitignore .gitignore
+
+# A really-dummy menuselect
+mkdir menuselect
+cp ../asterisk-tools/menuselect/Makefile menuselect
+ln -s /bin/true menuselect/menuselect