summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2010-06-22 21:47:50 +0300
committerTzafrir Cohen <tzafrir@cohens.org.il>2010-06-22 21:47:50 +0300
commit7a1dcb9b3a13d683e8a88fb9b742ffe10c4f7f58 (patch)
tree15f331301494a10b5c3d821c87568cbbc055cbd9
parentdf77eecb9026c66b44c91f56a8e651436cac4b48 (diff)
A setup script for dahdi-linux
Assums octapi exists alongside dahdi-linux
-rw-r--r--git-dahdi-linux-howto2
-rwxr-xr-xsetup_dahdi-linux15
2 files changed, 16 insertions, 1 deletions
diff --git a/git-dahdi-linux-howto b/git-dahdi-linux-howto
index 9080972..1deeecd 100644
--- a/git-dahdi-linux-howto
+++ b/git-dahdi-linux-howto
@@ -22,6 +22,6 @@ I chose the plain old symlink way:
cd ..
git svn clone -s http://svn.asterisk.org/svn/octasic_api/oct612x octapi
cd dahdi-linux
- ln -s ../../../octapi/software driver/dahdi/oct612x
+ ln -s ../../../octapi/software drivers/dahdi/oct612x
(Patches are welcomed)
diff --git a/setup_dahdi-linux b/setup_dahdi-linux
new file mode 100755
index 0000000..ee5132b
--- /dev/null
+++ b/setup_dahdi-linux
@@ -0,0 +1,15 @@
+#!/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/dahdi-linux_gitignore .gitignore
+ln -s ../../../octapi/software drivers/dahdi/oct612x