mirror of https://github.com/odrling/Aegisub
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:
parent
763231423b
commit
97427e7b46
|
@ -15,9 +15,7 @@ CONVERT ?= %s \n \
|
||||||
# I direct them to coders/xpm.c:734 in ImageMagick 6.5.1
|
# I direct them to coders/xpm.c:734 in ImageMagick 6.5.1
|
||||||
for (v in image) {
|
for (v in image) {
|
||||||
printf("%s_xpm.xpm: %s\n", v, image[v])
|
printf("%s_xpm.xpm: %s\n", v, image[v])
|
||||||
printf(" $(CONVERT) -transparent \"#c0c0c0\" %s xpm:- \\\
|
printf(" $(CONVERT) -transparent \"#c0c0c0\" %s xpm:- | sed \"2 s/^static char \\*xpm__\\[\\] =/const char \\*"v"_xpm\\[\\] =/\" > %s_xpm.xpm\n\n", image[v], v)
|
||||||
| sed \"2 s/^static char \\*xpm__\\[\\] =/const char \\*"v"_xpm\\[\\] =/\" \\\
|
|
||||||
> %s_xpm.xpm\n\n", image[v], v)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("bmp2xpm:")
|
printf("bmp2xpm:")
|
||||||
|
|
Loading…
Reference in New Issue