summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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