]> err.no Git - mapper/commitdiff
Combine configure helpers into one
authorKaj-Michael Lang <milang@onion.tal.org>
Wed, 24 Oct 2007 09:14:53 +0000 (12:14 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Wed, 24 Oct 2007 09:14:53 +0000 (12:14 +0300)
desktop-configure.sh [deleted file]
do-configure.sh [new file with mode: 0755]
hildon-configure.sh [deleted file]

diff --git a/desktop-configure.sh b/desktop-configure.sh
deleted file mode 100755 (executable)
index 4cb0a8f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-./configure --prefix=/usr --enable-maintainer-mode
diff --git a/do-configure.sh b/do-configure.sh
new file mode 100755 (executable)
index 0000000..e760515
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case "$1" in
+ desktop)
+       ./configure --prefix=/usr --sysconfdir=/etc \
+               --enable-maintainer-mode
+ ;;
+ hildon)
+       ./configure --prefix=/usr --sysconfdir=/etc \
+               --enable-maintainer-mode --enable-hildon
+ ;;
+ tablet)
+       ./configure --prefix=/usr --sysconfdir=/etc \
+               --enable-maintainer-mode --enable-hildon \
+               --enable-770 --enable-itbtdbus
+ ;;
+ *)
+       echo "Give type: desktop, hildon or tablet"
+ ;;
+esac
diff --git a/hildon-configure.sh b/hildon-configure.sh
deleted file mode 100755 (executable)
index d939c6d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-./configure --prefix=/usr --enable-maintainer-mode --enable-hildon