From: guigues Date: Thu, 14 Feb 2008 12:33:45 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: r0.6.1~213 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e0a8bc520339c83612c3b5ab61bfc4e05286153e;p=bbtk.git *** empty log message *** --- diff --git a/kernel/install/CMakeLists.txt b/kernel/install/CMakeLists.txt index 829127c..02e3513 100644 --- a/kernel/install/CMakeLists.txt +++ b/kernel/install/CMakeLists.txt @@ -1,7 +1,5 @@ IF(UNIX) + SUBDIRS(linux) SUBDIRS(gnome) ENDIF(UNIX) -INSTALL( PROGRAMS bbtk-uninstall.sh - DESTINATION bin -) diff --git a/kernel/install/gnome/bbtk-install-gnome.sh.in b/kernel/install/gnome/bbtk-install-gnome.sh.in index b66ab2c..6e09bc9 100755 --- a/kernel/install/gnome/bbtk-install-gnome.sh.in +++ b/kernel/install/gnome/bbtk-install-gnome.sh.in @@ -4,7 +4,7 @@ echo "***** Installing bbi on gnome desktop *****" BBI=$(which bbi) echo "* bbi path = ${BBI}" -TMP=$(which bbtk-install-gnome|rev) +TMP=$(which $0|rev) TMP2=$(echo ${TMP#*/}|rev) DATAPATH=${TMP2}/@bbtk_install_gnome_DATA_REL_PATH@ diff --git a/kernel/install/linux/CMakeLists.txt b/kernel/install/linux/CMakeLists.txt new file mode 100644 index 0000000..3c73550 --- /dev/null +++ b/kernel/install/linux/CMakeLists.txt @@ -0,0 +1,4 @@ +# Uninstall script +INSTALL( PROGRAMS bbtk-uninstall.sh + DESTINATION bin +) diff --git a/kernel/install/bbtk-uninstall.sh b/kernel/install/linux/bbtk-uninstall.sh similarity index 100% rename from kernel/install/bbtk-uninstall.sh rename to kernel/install/linux/bbtk-uninstall.sh