Add gnulib as a submodule.
authorMatthew Booth <mbooth@redhat.com>
Fri, 1 Oct 2010 16:00:11 +0000 (18:00 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 1 Oct 2010 16:13:57 +0000 (17:13 +0100)
(Thanks also to Jim Meyering for resolving the git submodule problems).

.gitmodules [new file with mode: 0644]
autogen.sh
gnulib [new submodule]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..acb2669
--- /dev/null
@@ -0,0 +1,3 @@
+[submodule "gnulib"]
+       path = gnulib
+       url = git://git.sv.gnu.org/gnulib.git
index 0ab1868..0afb7ed 100755 (executable)
@@ -1,8 +1,6 @@
 #!/bin/sh -
 
-if [ -d ../gnulib ]; then
-    ../gnulib/gnulib-tool --update
-fi
+./gnulib/gnulib-tool --update
 
 export AUTOMAKE='automake --foreign --add-missing'
 autoreconf
diff --git a/gnulib b/gnulib
new file mode 160000 (submodule)
index 0000000..a88d256
--- /dev/null
+++ b/gnulib
@@ -0,0 +1 @@
+Subproject commit a88d2561c2cdb9bde56bec1c858a5f64c6ad28c0