From f36e7d38829c87412998110a30b9821c03832e8a Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 24 Oct 2007 12:14:53 +0300 Subject: [PATCH] Combine configure helpers into one --- desktop-configure.sh | 2 -- do-configure.sh | 20 ++++++++++++++++++++ hildon-configure.sh | 2 -- 3 files changed, 20 insertions(+), 4 deletions(-) delete mode 100755 desktop-configure.sh create mode 100755 do-configure.sh delete mode 100755 hildon-configure.sh diff --git a/desktop-configure.sh b/desktop-configure.sh deleted file mode 100755 index 4cb0a8f..0000000 --- a/desktop-configure.sh +++ /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 index 0000000..e760515 --- /dev/null +++ b/do-configure.sh @@ -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 index d939c6d..0000000 --- a/hildon-configure.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -./configure --prefix=/usr --enable-maintainer-mode --enable-hildon -- 2.39.5