From 3270f8a28ba180f06076fbf244a6fb31dbdfdbed Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 21 May 2014 00:13:31 -0400 Subject: Teach the Makefile to create the .apk (unsigned) --- .gitignore | 2 ++ Makefile | 43 +++++++++++++++++++++++++++++++---------- res/drawable-hdpi/minak.png | Bin 6213 -> 6538 bytes res/drawable-mdpi/minak.png | Bin 3925 -> 4019 bytes res/drawable-xhdpi/minak.png | Bin 9112 -> 9588 bytes res/drawable-xxhdpi/minak.png | Bin 14978 -> 15850 bytes res/drawable-xxxhdpi/minak.png | Bin 21843 -> 23201 bytes 7 files changed, 35 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index f708b53..5469675 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ /.settings /bin /gen +/build.xml +/local.properties *~ .nfs* diff --git a/Makefile b/Makefile index 2d24a2f..b413171 100644 --- a/Makefile +++ b/Makefile @@ -1,32 +1,55 @@ +# Programs ##################################################################### + +# Usage: $(call SVG2PNG,in-file,out-file[,width,height,background-color]) # SVG2PNG: Each is buggy in their own way # ImageMagick: doesn't support transparency -#SVG2PNG = convert $1 -format png $(if $3,-resize $3x)$(if $4,$4) $(if $5,-bacground $5) $2 +#SVG2PNG = convert $1 -format png $(if $3,-resize $3x)$(if $4,$4) $(if $5,-background $5) $2 # librsvg: doesn't support