view mupdf-source/scripts/runiccdump.sh @ 14:59f1bd90b2a0

Use "soname" on FreeBSD also. FreeBSD and Linux are now handled identical with regard to soname and library naming and packaging.
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 17 Sep 2025 20:35:45 +0200
parents b50eed0cc0ef
children
line wrap: on
line source

#!/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