Handle submodules.
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 13 Mar 2008 08:37:37 +0000 (09:37 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 13 Mar 2008 08:37:37 +0000 (09:37 +0100)
.gitmodules [new file with mode: 0644]
buildconf.sh
doc/common [new submodule]
m4 [new submodule]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..d38140d
--- /dev/null
@@ -0,0 +1,6 @@
+[submodule "m4"]
+       path = m4
+       url = git://git.indexdata.com/m4
+[submodule "doc/common"]
+       path = doc/common
+       url = git://git.indexdata.com/id-docbook-common
index 7187d30..aa4288b 100755 (executable)
@@ -1,5 +1,14 @@
 #!/bin/sh
 # $Id: buildconf.sh,v 1.12 2006-05-26 19:57:35 adam Exp $
+
+test -d config || mkdir config
+if test -d m4/.git -a -d doc/common/.git; then
+    :
+else
+    git submodule init
+    git submodule update
+fi
+
 if automake --version|head -1 |grep '1\.[4-7]'; then
     echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
     if test -f /etc/debian_version; then
diff --git a/doc/common b/doc/common
new file mode 160000 (submodule)
index 0000000..ad59063
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit ad590638ef9832806a7c1d5d996ac512160130d5
diff --git a/m4 b/m4
new file mode 160000 (submodule)
index 0000000..a3d7a33
--- /dev/null
+++ b/m4
@@ -0,0 +1 @@
+Subproject commit a3d7a3375702caae9794ae3a724e51ae9ee46ac3