Makes it easier to avoid slapping on the copyright blob on these files in scripts.
# --- Generated ICC profiles ---
source/fitz/icc/%.icc.h: resources/icc/%.icc
- $(QUIET_GEN) xxd -i $< | sed 's/unsigned/static const unsigned/' > $@
+ $(QUIET_GEN) xxd -i $< | \
+ sed 's/unsigned/static const unsigned/' | \
+ sed '1i// This is an automatically generated file. Do not edit.' \
+ > $@
generate: source/fitz/icc/gray.icc.h
generate: source/fitz/icc/rgb.icc.h
+1i// This is an automatically generated file. Do not edit.
s!//.*!!
s/^[ \t]*//
s/ *$//
+// This is an automatically generated file. Do not edit.
static const unsigned char resources_icc_cmyk_icc[] = {
0x00, 0x02, 0xdc, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x10, 0x00, 0x00,
0x70, 0x72, 0x74, 0x72, 0x43, 0x4d, 0x59, 0x4b, 0x4c, 0x61, 0x62, 0x20,
+// This is an automatically generated file. Do not edit.
static const unsigned char resources_icc_gray_icc[] = {
0x00, 0x00, 0x01, 0xa0, 0x00, 0x00, 0x00, 0x00, 0x02, 0x10, 0x00, 0x00,
0x6d, 0x6e, 0x74, 0x72, 0x47, 0x52, 0x41, 0x59, 0x58, 0x59, 0x5a, 0x20,
+// This is an automatically generated file. Do not edit.
static const unsigned char resources_icc_lab_icc[] = {
0x00, 0x00, 0x07, 0xb4, 0x61, 0x70, 0x70, 0x6c, 0x02, 0x10, 0x00, 0x00,
0x73, 0x70, 0x61, 0x63, 0x4c, 0x61, 0x62, 0x20, 0x4c, 0x61, 0x62, 0x20,
+// This is an automatically generated file. Do not edit.
static const unsigned char resources_icc_rgb_icc[] = {
0x00, 0x00, 0x0a, 0x10, 0x00, 0x00, 0x00, 0x00, 0x02, 0x10, 0x00, 0x00,
0x6d, 0x6e, 0x74, 0x72, 0x52, 0x47, 0x42, 0x20, 0x58, 0x59, 0x5a, 0x20,
+// This is an automatically generated file. Do not edit.
"Error.prototype.toString = function() {\n"
"if (this.stackTrace) return this.name + ': ' + this.message + this.stackTrace;\n"
"return this.name + ': ' + this.message;\n"