reduced & beautified generating script
added a clean script for generated stuff removed generated stuff git-svn-id: http://www.neo1973-germany.de/svn@181 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
parent
00e3e597d7
commit
771d4a6513
7 changed files with 16 additions and 21 deletions
2
epydial/clean_theme
Executable file
2
epydial/clean_theme
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
rm -v data/themes/*/*.edj
|
|
@ -1,23 +1,16 @@
|
||||||
#!/bin/bash -e
|
#!/bin/sh -e
|
||||||
|
for theme in data/themes/*; do
|
||||||
cd data/themes
|
if [ -d "$theme" ]; then
|
||||||
|
cd "$theme"
|
||||||
for theme in *
|
theme=`basename "$theme"`
|
||||||
do
|
|
||||||
if [[ ! -d "$theme" ]]
|
|
||||||
then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Compiling theme $theme"
|
echo "Compiling theme $theme"
|
||||||
|
data_path="../../themes_data/$theme"
|
||||||
cd $theme
|
for filename in *.edc; do
|
||||||
data_path="../../themes_data/"$theme"/"
|
edje_cc \
|
||||||
|
-id "$data_path/images" \
|
||||||
for filename in *.edc
|
-fd "$data_path/fonts" \
|
||||||
do
|
$filename
|
||||||
edje_cc -id $data_path/images -fd $data_path/fonts $filename
|
|
||||||
done
|
done
|
||||||
|
cd - > /dev/null
|
||||||
cd ..
|
fi
|
||||||
done
|
done
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue