summaryrefslogtreecommitdiff
path: root/Docs/Support
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-01 20:53:24 +0200
committerunknown <monty@donna.mysql.com>2001-01-01 20:53:24 +0200
commit189509c623d09692e7bda2e998f5fbd9215f9ab3 (patch)
treedb8cd2267ea0347e2fe14c754edeeff696158bd9 /Docs/Support
parent7e687f893ccb170fe03af34639e8837a53cb2ac5 (diff)
downloadmariadb-git-189509c623d09692e7bda2e998f5fbd9215f9ab3.tar.gz
New argentina.eps flag
Docs/Flags/argentina.gif: New generated flag Docs/Support/generate-flag-images: Update for new directory structure
Diffstat (limited to 'Docs/Support')
-rwxr-xr-xDocs/Support/generate-flag-images16
1 files changed, 8 insertions, 8 deletions
diff --git a/Docs/Support/generate-flag-images b/Docs/Support/generate-flag-images
index fa31fa7a4b8..903c610d4bc 100755
--- a/Docs/Support/generate-flag-images
+++ b/Docs/Support/generate-flag-images
@@ -2,8 +2,8 @@
tmp=/tmp/temp-pic.pnm
-all="austria czech-republic germany great-britain hungary israel italy
-russia portugal sweden canada usa south-korea japan taiwan australia
+all="argentina austria czech-republic germany great-britain hungary israel
+italy russia portugal sweden canada usa south-korea japan taiwan australia
romania denmark france estonia poland singapore bulgaria south-africa
netherlands chile ukraine greece finland switzerland croatia china
brazil spain iceland ireland denmark"
@@ -11,25 +11,25 @@ brazil spain iceland ireland denmark"
new=""
set -x
-cd Img
+cd Flags
# for c in $all; do cp empty.png $c.pdf; done; exit
for c in $new
do
# For HTML version
- giftopnm Raw-Flags/$c.gif | \
- pnmscale -xsize 30 > $tmp
- pnmpaste $tmp 1 1 flag-background.pnm > $c.pnm
+ giftopnm ../Raw-Flags/$c.gif | \
+ pnmscale -xsize 30 > $tmp
+ pnmpaste $tmp 1 1 ../Images/flag-background.pnm > $c.pnm
rm -f $tmp
# For web version
ppmtogif $c.pnm > $c.gif
# or cjpeg -optimize -quality 70 -outfile $c.jpg
# For PDF version (this coredumps. use empty file until fixed)
# pnmtopng -verbose $c.pnm > $c.png
- cp empty.png $c.pdf
+ cp ../Images/empty.png $c.pdf
# For TeX version
- giftopnm /my/local/pictures/flags/$c.gif | \
+ giftopnm ../Raw-Flags/$c.gif | \
pnmscale -xsize 30 | \
pnmtops -noturn > $c.eps
# For text version