kolibrios-gitea/data/generate_makefile_skins.sh
Akyltist ae5097b525 Add default.skn to [ru,en,es,it..]
Change path in "data/generate_makefile_skins.sh"

git-svn-id: svn://kolibrios.org@4787 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-07 06:08:09 +00:00

27 lines
667 B
Bash

#!/bin/sh
echo SKIN_SOURCES:=\\
while read skinname
do
skinpath=../../skins/olds/"$skinname"
for f in $skinpath/*.{asm,ASM}
do
if [ ! -f "$f" ]; then continue; fi
if expr "$f" : '.*\.dtp' > /dev/null; then continue; fi
echo -n allskins/$skinname.skn | sed 's/ /|/g'
echo -n ':Skins/:'
echo -n $f | sed 's/ /|/g'
echo " \\"
done
for f in ../../skins/olds/"$skinname"/*/*.{asm,ASM}
do
if [ ! -f "$f" ]; then continue; fi
if expr "$f" : '.*\.dtp' > /dev/null; then continue; fi
g=`basename "$(dirname "$f")"`
echo -n allskins/$g.skn | sed 's/ /|/g'
echo -n ':Skins/:'
echo -n $f | sed 's/ /|/g'
echo " \\"
done
done
echo '# end of list'