File: generatePixmaps.sh

package info (click to toggle)
baghira 0.8-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 5,536 kB
  • ctags: 2,445
  • sloc: cpp: 18,279; sh: 10,064; perl: 2,760; makefile: 230
file content (28 lines) | stat: -rwxr-xr-x 849 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
top_srcdir="${1:-../..}"
imagebase="$top_srcdir/imagebase"
UIC=$(grep "UIC = " ../Makefile | cut -f3- -d" ")
echo -e "#ifndef DPIXMAPS_H\n#define DPIXMAPS_H\n" > pixmaps.h
$UIC -embed baghira \
$imagebase/brushed-gradient \
$imagebase/brushed-tile \
$imagebase/button_jaguar \
$imagebase/button_jaguar_down \
$imagebase/button_jaguar_menu \
$imagebase/button_jaguar_menu_down \
$imagebase/button_milk \
$imagebase/button_milk_down \
$imagebase/button_milk_menu \
$imagebase/button_milk_menu_down \
$imagebase/button_panther \
$imagebase/button_panther_menu \
$imagebase/deco_glossy \
$imagebase/icon_above \
$imagebase/icon_behind \
$imagebase/icon_close \
$imagebase/icon_help \
$imagebase/icon_maximize \
$imagebase/icon_minimize \
$imagebase/icon_shade \
$imagebase/icon_sticky >> pixmaps.h
echo -e "#endif //DPIXMAPS_H\n" >> pixmaps.h