Sigh, make gawk happy, I despise gawk someone please get rid of it forever.

Originally committed to SVN as r2900.
This commit is contained in:
Amar Takhar 2009-05-04 08:06:26 +00:00
parent 8c8a0abe38
commit c9affe9aeb
1 changed files with 1 additions and 3 deletions

View File

@ -15,9 +15,7 @@ CONVERT ?= %s \n \
# I direct them to coders/xpm.c:734 in ImageMagick 6.5.1
for (v in image) {
printf("%s_xpm.xpm: %s\n", v, image[v])
printf(" $(CONVERT) -transparent \"#c0c0c0\" %s xpm:- \\\
| sed \"2 s/^static char \\*xpm__\\[\\] =/const char \\*"v"_xpm\\[\\] =/\" \\\
> %s_xpm.xpm\n\n", image[v], v)
printf(" $(CONVERT) -transparent \"#c0c0c0\" %s xpm:- | sed \"2 s/^static char \\*xpm__\\[\\] =/const char \\*"v"_xpm\\[\\] =/\" > %s_xpm.xpm\n\n", image[v], v)
}
printf("bmp2xpm:")