diff options
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index de9a541ca..d2e047cb5 100644 --- a/test/Makefile +++ b/test/Makefile @@ -278,6 +278,18 @@ ipptool-static: ipptool.o ../cups/$(LIBCUPSSTATIC) # +# printer-png.h +# + +printer-png.h: printer.png + echo "Generating printer-png.h from printer.png..." + echo "static const unsigned char printer_png[] =" >printer-png.h + echo "{" >>printer-png.h + od -t x1 printer.png | cut -b12- | awk '{printf(" "); for (i = 1; i <= NF; i ++) printf("0x%s,", $$i); print "";}' >>printer-png.h + echo "};" >>printer-png.h + + +# # Dependencies... # |