Script will build if all the source is present. Need to test that checkouts work
authorPete Fotheringham <pete.fotheringham@codethink.co.uk>
Mon, 2 Jan 2012 11:34:26 +0000 (11:34 +0000)
committerPete Fotheringham <pete.fotheringham@codethink.co.uk>
Mon, 2 Jan 2012 11:34:26 +0000 (11:34 +0000)
mac-client-installer/build-installer.sh [new file with mode: 0755]
mac-client-installer/moonshot-mac.modules

diff --git a/mac-client-installer/build-installer.sh b/mac-client-installer/build-installer.sh
new file mode 100755 (executable)
index 0000000..6b12287
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+#  build-installer.sh
+#  
+#
+#  Created by pete on 02/01/2012.
+#  Copyright (c) 2011, JANET(UK)
+
+cp ./.jhbuildrc-custom ~
+
+cd ../moonshot && jhbuild run ./configure --enable-acceptor=no --with-krb5=$HOME/gtk/inst && make && make install DESTDIR=$HOME/moonshot/mac-client-installer/moonshot
+
+jhbuild build cyrus-sasl
+
+jhbuild build moonshot-ui
+
+cd ~/gtk/source/moonshot-ui/ &&  jhbuild run make app-bundle && jhbuild run make installer
\ No newline at end of file
index fd60c52..5cb964f 100644 (file)
@@ -24,7 +24,7 @@
 
     
     <autotools id="moonshot-ui" autogenargs="--prefix $HOME/moonshot/mac-client-installer/moonshot-ui  --libdir $HOME/moonshot/mac-client-installer/moonshot-ui/lib" 
-        makeinstallargs="install icons app-bundle">
+        makeinstallargs="install icons">
         <branch 
             repo="moonshot.janet.git" module="moonshot-ui.git">
         </branch>