From 76453236c8cd7f5ccbfcaad2418efb3d3e095378 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 13 Mar 2008 09:37:37 +0100 Subject: [PATCH] Handle submodules. --- .gitmodules | 6 ++++++ buildconf.sh | 9 +++++++++ doc/common | 1 + m4 | 1 + 4 files changed, 17 insertions(+) create mode 100644 .gitmodules create mode 160000 doc/common create mode 160000 m4 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d38140d --- /dev/null +++ b/.gitmodules @@ -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 diff --git a/buildconf.sh b/buildconf.sh index 7187d30..aa4288b 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -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 index 0000000..ad59063 --- /dev/null +++ b/doc/common @@ -0,0 +1 @@ +Subproject commit ad590638ef9832806a7c1d5d996ac512160130d5 diff --git a/m4 b/m4 new file mode 160000 index 0000000..a3d7a33 --- /dev/null +++ b/m4 @@ -0,0 +1 @@ +Subproject commit a3d7a3375702caae9794ae3a724e51ae9ee46ac3 -- 1.7.10.4