diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rwxr-xr-x | autogen.sh | 20 | ||||
m--------- | common | 0 |
3 files changed, 15 insertions, 8 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a6b1eda --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "common"] + path = common + url = git://anongit.freedesktop.org/gstreamer/common @@ -5,16 +5,13 @@ DIE=0 package=gst-plugins-gl srcfile=gst-libs/gst/gl/gstgldisplay.h -# a quick cvs co to ease the transition -if test ! -d common; +# Make sure we have common +if test ! -f common/gst-autogen.sh; then - echo "+ getting common/ from cvs" - if test -e CVS/Tag - then - TAG="-r `tail -c +2 CVS/Tag`" - fi - cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/gstreamer co $TAG common + echo "+ Setting up common submodule" + git submodule init fi +git submodule update # source helper functions if test ! -f common/gst-autogen.sh; @@ -25,6 +22,13 @@ then fi . common/gst-autogen.sh +# 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 + CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc --enable-plugin-docs' autogen_options $@ diff --git a/common b/common new file mode 160000 +Subproject f7bd42d4fa7f9b976fe5e697ff914e25f25e885 |