projects
/
m17n
/
m17n-docs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(data/dbdata-en.txt): Resize icon images.
[m17n/m17n-docs.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
a15915f
..
2597b5a
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-279,9
+279,9
@@
data/dbdata-en.txt: ${DBDATA} ${DBIMAGE} @M17NDB@/mdb.xml utils/expand-mdb.awk \
xsltproc -xinclude utils/description-en.xsl data/expanded-mdb.xml > $@
ICONS=`sed -n 's/.*icon:<img src="icon-\([^"]*\)".*$$/\1/p' < $@`; \
for f in $${ICONS}; do \
xsltproc -xinclude utils/description-en.xsl data/expanded-mdb.xml > $@
ICONS=`sed -n 's/.*icon:<img src="icon-\([^"]*\)".*$$/\1/p' < $@`; \
for f in $${ICONS}; do \
- SRC="@M17NDB@/icons/$$f";\
- DST="images/icon-$$f"; \
- [ ! -f $${SRC} -o -f $${DST} ] || cp $${SRC} $${DST}; \
+ S="@M17NDB@/icons/$$f";\
+ D="images/icon-$$f"; \
+ [ ! -f $${S} -o -f $${D} ] || convert -resize 50% $${S} $${D}; \
done
data/dbdata-ja.txt: ${DBDATA} ${DBIMAGE} @M17NDB@/mdb.xml utils/expand-mdb.awk \
done
data/dbdata-ja.txt: ${DBDATA} ${DBIMAGE} @M17NDB@/mdb.xml utils/expand-mdb.awk \