summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-02-17 14:35:05 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-02-17 14:35:05 +0000
commit056f9e2e8b42fb2fb6f7c0729792c5fc2f5d67e5 (patch)
treef0c0c85a622737e4e4a9523fd6fc1f275d3e70e4
parent7190da459171d287c6a5e480de0d7c91476cdd75 (diff)
downloadgettext-056f9e2e8b42fb2fb6f7c0729792c5fc2f5d67e5.tar.gz
submodules: add gettext and fix morph
autogen.sh can be persuaded not to run git if GNULIB_TOOL is set we have already updated the submodule in morph, so this is ok
-rw-r--r--.gitmodules3
-rw-r--r--gettext.morph11
2 files changed, 13 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 000000000..009ae439e
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "gnulib"]
+ path = gnulib
+ url = git://git.savannah.gnu.org/gnulib.git
diff --git a/gettext.morph b/gettext.morph
index 7df4c36dd..2dbda532b 100644
--- a/gettext.morph
+++ b/gettext.morph
@@ -1,5 +1,14 @@
{
"name": "gettext",
"kind": "chunk",
- "build-system": "autotools"
+ "configure-commands": [
+ "GNULIB_TOOL=\"gnulib/gnulib-tool\" sh autogen.sh",
+ "./configure --prefix=/usr --disable-nls"
+ ],
+ "build-commands": [
+ "make"
+ ],
+ "install-commands": [
+ "make DESTDIR=\"$DESTDIR\" install"
+ ]
}