2012-06-15 13:08:31 +02:00
|
|
|
#!/bin/sh
|
|
|
|
echo SKIN_SOURCES:=\\
|
|
|
|
while read skinname
|
|
|
|
do
|
2014-04-08 00:40:00 +02:00
|
|
|
skinpath=../../skins/_old/"$skinname"
|
2012-06-15 13:08:31 +02:00
|
|
|
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
|
2014-04-08 00:40:00 +02:00
|
|
|
for f in ../../skins/_old/"$skinname"/*/*.{asm,ASM}
|
2012-06-15 13:08:31 +02:00
|
|
|
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'
|