summaryrefslogtreecommitdiff
path: root/scripts/runiccdump.sh
blob: 10418ae5c66aa6d9d371a063008b3c62bd536e49 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
rm -f source/fitz/icc/*.h
for f in resources/icc/*.icc
do
	b=$(basename $f)
	echo Dumping $b
	xxd -i $f | sed 's/unsigned/static const unsigned/' > source/fitz/icc/$b.h
done