forked from enlightenment/enlightenment
Generate build_iconbar_db.sh with proper PREFIX
SVN revision: 5839
This commit is contained in:
parent
e8e42fa701
commit
83dc2cd3fb
|
@ -257,6 +257,7 @@ tools/Makefile
|
|||
doc/Makefile
|
||||
doc/kernel-doc
|
||||
doc/html-customizations.dsl
|
||||
data/scripts/build_iconbar_db.sh
|
||||
])
|
||||
AC_CONFIG_COMMANDS([default],[[
|
||||
chmod +x doc/kernel-doc
|
||||
|
|
12
configure.in
12
configure.in
|
@ -1,6 +1,7 @@
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(configure.in)
|
||||
AC_INIT
|
||||
AC_CONFIG_SRCDIR([configure.in])
|
||||
|
||||
ENLIGHTENMENT_MAJOR=0
|
||||
ENLIGHTENMENT_MINOR=17
|
||||
|
@ -245,7 +246,7 @@ AC_PATH_PROG(JADE, jade)
|
|||
AM_CONDITIONAL(HAVE_JADE, test "x$JADE" != "x" && test -d "$DB_STYLESHEETS")
|
||||
|
||||
|
||||
AC_OUTPUT([
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
src/Makefile
|
||||
lib/Makefile
|
||||
|
@ -256,7 +257,10 @@ tools/Makefile
|
|||
doc/Makefile
|
||||
doc/kernel-doc
|
||||
doc/html-customizations.dsl
|
||||
], [
|
||||
chmod +x doc/kernel-doc
|
||||
data/scripts/build_iconbar_db.sh
|
||||
])
|
||||
AC_CONFIG_COMMANDS([default],[[
|
||||
chmod +x doc/kernel-doc
|
||||
]],[[]])
|
||||
AC_OUTPUT
|
||||
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
#!/bin/sh
|
||||
|
||||
DB=$1"/.e_iconbar.db"
|
||||
BIT=$1"/.e_iconbar.bits.db"
|
||||
|
||||
setup ()
|
||||
{
|
||||
PREFIX="@prefix@"
|
||||
SYSIC="/usr/share/pixmaps"
|
||||
USRIC=$HOME"/stuff/icons"
|
||||
NUM=0
|
||||
rm -f $DB
|
||||
}
|
||||
|
||||
finish ()
|
||||
{
|
||||
edb_ed $DB add "/icons/count" int $NUM
|
||||
}
|
||||
|
||||
icon ()
|
||||
{
|
||||
e_img_import "$1" $DB":""/icons/"$NUM"/image"
|
||||
edb_ed $DB add "/icons/"$NUM"/exec" str "$2"
|
||||
NUM=$[ $NUM + 1 ];
|
||||
}
|
||||
|
||||
setup
|
||||
|
||||
icon $SYSIC"/gnome-term.png" "Eterm"
|
||||
icon $SYSIC"/gnome-ccdesktop.png" "sylpheed"
|
||||
icon $SYSIC"/netscape.png" "netscape"
|
||||
icon $USRIC"/mozilla.png" "mozilla"
|
||||
icon $SYSIC"/gnome-irc.png" "xchat"
|
||||
icon $SYSIC"/gnome-gimp.png" "gimp"
|
||||
icon $SYSIC"/gnome-mixer.png" "/home/raster/.desktop/FixMix"
|
||||
icon $SYSIC"/mc/gnome-audio.png" "xmms"
|
||||
icon $USRIC"star_office.png" "/home/raster/.desktop/Office"
|
||||
|
||||
finish
|
||||
|
||||
cp -f $PREFIX"/share/enlightenment/data/iconbar/iconbar_left.bits.db" $BIT
|
Loading…
Reference in New Issue