mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
make tarball ready to be dropped into byod
This commit is contained in:
parent
a85e9360ff
commit
f6d8924593
1 changed files with 5 additions and 2 deletions
|
@ -22,15 +22,18 @@ byodfiles.tgz: byodfiles.tar
|
|||
gzip -c $< > $@
|
||||
|
||||
byodfiles.tar:
|
||||
rm -f $@
|
||||
rm -f $@ langinfo
|
||||
tar cvf $@ ./dict2dawg.cpp ./par.pl ./xloc.pl ./xloc.pm
|
||||
for dir in $$(ls .); do \
|
||||
if [ -f $$dir/info.txt ] && [ -f $$dir/Makefile ]; then \
|
||||
mkdir -p langinfo/$$dir; \
|
||||
(cd $$dir; make TARGET_TYPE=PALM table.bin values.bin palmvalues.bin); \
|
||||
(cd $$dir; make TARGET_TYPE=FRANK frankspecials.bin); \
|
||||
tar rvf $@ $$dir/table.bin $$dir/values.bin $$dir/palmvalues.bin $$dir/frankspecials.bin $$dir/info.txt; \
|
||||
cp $$dir/table.bin $$dir/values.bin $$dir/palmvalues.bin $$dir/frankspecials.bin $$dir/info.txt langinfo/$$dir; \
|
||||
tar rvf $@ langinfo/$$dir/table.bin langinfo/$$dir/values.bin langinfo/$$dir/palmvalues.bin langinfo/$$dir/frankspecials.bin langinfo/$$dir/info.txt; \
|
||||
fi \
|
||||
done
|
||||
rm -rf langinfo
|
||||
|
||||
clean:
|
||||
rm -f byodfiles.tgz byodfiles.tar dict2dawg
|
||||
|
|
Loading…
Reference in a new issue