diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-04-09 13:19:56 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-04-25 12:26:33 +0200 |
commit | eb7113c23424bcca4d45fdf2ece2b43d13095b2d (patch) | |
tree | 58341284fcca8ac44226651e1026a6da8d111ec3 /Makefile | |
parent | 5dd383a4eb03c05f0e34fd166c133d567d66de3d (diff) | |
download | mupdf-eb7113c23424bcca4d45fdf2ece2b43d13095b2d.tar.xz |
Check in generated ICC profiles.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 10 insertions, 13 deletions
@@ -223,19 +223,16 @@ generate: $(FONT_GEN) # --- Generated ICC profiles --- -ICC_BIN := resources/icc/gray.icc resources/icc/rgb.icc resources/icc/cmyk.icc resources/icc/lab.icc -ICC_GEN := generated/icc-profiles.c -ICC_OBJ := $(ICC_GEN:%.c=$(OUT)/%.o) - -$(ICC_OBJ) : $(ICC_GEN) -$(ICC_GEN) : $(ICC_BIN) | generated - $(QUIET_GEN) $(HEXDUMP_EXE) $@ $(ICC_BIN) - -ifneq "$(CROSSCOMPILE)" "yes" -$(ICC_GEN) : $(HEXDUMP_EXE) -endif - -generate: $(ICC_GEN) +source/fitz/icc/gray.icc.h: resources/icc/gray.icc + $(QUIET_GEN) xxd -i $< | sed 's/unsigned/static const unsigned/' > $@ +source/fitz/icc/rgb.icc.h: resources/icc/rgb.icc + $(QUIET_GEN) xxd -i $< | sed 's/unsigned/static const unsigned/' > $@ +source/fitz/icc/cmyk.icc.h: resources/icc/cmyk.icc + $(QUIET_GEN) xxd -i $< | sed 's/unsigned/static const unsigned/' > $@ +source/fitz/icc/lab.icc.h: resources/icc/lab.icc + $(QUIET_GEN) xxd -i $< | sed 's/unsigned/static const unsigned/' > $@ + +generate: source/fitz/icc/gray.icc.h source/fitz/icc/rgb.icc.h source/fitz/icc/cmyk.icc.h source/fitz/icc/lab.icc.h # --- Generated CMap files --- |