Skip to content

Commit

Permalink
Get GStreamer "common" module and check indent on commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed May 7, 2014
1 parent 23c3183 commit f10be6a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "common"]
path = common
url = git://anongit.freedesktop.org/gstreamer/common
16 changes: 16 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
#!/bin/sh

# Make sure we have common
if test ! -f common/gst-autogen.sh;
then
echo "+ Setting up common submodule"
git submodule init
fi
git submodule update

# install pre-commit hook for doing clean commits
if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
then
rm -f .git/hooks/pre-commit
ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
fi

if [ -x "`which autoreconf 2>/dev/null`" ] ; then
exec autoreconf -ivf
fi
Expand Down
1 change: 1 addition & 0 deletions common
Submodule common added at 1f5d3c

0 comments on commit f10be6a

Please sign in to comment.