From 1eac934283c8ef21bdc9ec2dd87b1f5c1a8e05f3 Mon Sep 17 00:00:00 2001 From: Christopher Eby Date: Sun, 19 Feb 2012 06:10:24 -0600 Subject: [PATCH] Document generate-pngs.sh, remove generate-authors.sh The author list is easy enough to create with git shortlog -s -n --- generate-authors.sh | 2 -- generate-pngs.sh | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100755 generate-authors.sh diff --git a/generate-authors.sh b/generate-authors.sh deleted file mode 100755 index e2d230ea..00000000 --- a/generate-authors.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -git log --pretty="format:%an %ae" | sort | uniq -c | sort -n -r | sed -e 's/^ *[0-9]* //g' diff --git a/generate-pngs.sh b/generate-pngs.sh index 6caa5c92..f974056e 100755 --- a/generate-pngs.sh +++ b/generate-pngs.sh @@ -1,5 +1,10 @@ #!/bin/sh +# This script can be used to generate PNGs from the SVGs stored in orig/. +# For each SVG in orig/, PNGs will be created in the drawable directories +# for each DPI with the same name as the SVG. If the PNGs already exist +# and are newer than the SVG, they will not be recreated. + gen() { name=`basename "$1" .svgz` png="res/drawable-$2/$name.png"