Chameleon

Chameleon Commit Details

Date:2010-07-25 03:45:27 (10 years 4 months ago)
Author:Evan Lojewski
Commit:236
Parents: 235
Message:Makefile now sorts array, embedded spelled correctly too
Changes:
M/branches/zef/i386/boot2/Makefile

File differences

branches/zef/i386/boot2/Makefile
100100
101101
102102
103
103
104104
105
105
106106
107107
108108
@echo "charname[32];" >> $(SYMROOT)/art.h
@echo "unsigned char*pngdata;" >> $(SYMROOT)/art.h
@echo "unsigned int*length;" >> $(SYMROOT)/art.h
@echo "} embededpng_t;" >> $(SYMROOT)/art.h
@echo "} embeddedpng_t;" >> $(SYMROOT)/art.h
@echo "" >> $(SYMROOT)/art.h
@echo "embededpng_t embededImages[] = {" >> $(SYMROOT)/art.h
@echo "embeddedpng_t embeddedImages[] = {" >> $(SYMROOT)/art.h
@cd $(SYMROOT)/embed && find . -name '*.png' -exec sh -c \
"echo {.name = \`echo '\"'\`\`echo '{}' | sort | cut -f 2 -d \"/\" | cut -f 1 -d \".\" \`\`echo '\"'\`, \
.pngdata = \`echo {} | sort | tr / _ | tr . _ \`, .length = \&\`echo {} | sort | tr / _ | tr . _ \`_len}," \; >> $(SYMROOT)/art.h

Archive Download the corresponding diff file

Revision: 236