summaryrefslogtreecommitdiffstats
path: root/pics/crystalsvg/Makefile.am
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /pics/crystalsvg/Makefile.am
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'pics/crystalsvg/Makefile.am')
-rw-r--r--pics/crystalsvg/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/pics/crystalsvg/Makefile.am b/pics/crystalsvg/Makefile.am
new file mode 100644
index 000000000..3fafc83b0
--- /dev/null
+++ b/pics/crystalsvg/Makefile.am
@@ -0,0 +1,23 @@
+KDE_ICON=AUTO
+
+crystaldir=$(kde_icondir)/crystalsvg
+crystal_DATA=index.theme
+
+generate:
+ @echo "Converting SVG files to PNG files, starting..."
+ @echo "Sizes: 16x16; 22x22; 32x32; 48x48; 64x64; 128x128"
+ @rm -f $(top_builddir)/pics/crystalsvg/generated -Rf
+ @mkdir $(top_builddir)/pics/crystalsvg/generated
+
+ @for file in $(top_srcdir)/pics/crystalsvg/*.svg*; do \
+ echo "Processing: $$file..."; \
+ $(top_builddir)/pics/ksvgtopng 16 16 $$file $(top_builddir)/pics/crystalsvg/generated/`basename $$file | sed -e 's/crsc/cr16/' | sed -e 's/svg\|svgz/png/'`; \
+ $(top_builddir)/pics/ksvgtopng 22 22 $$file $(top_builddir)/pics/crystalsvg/generated/`basename $$file | sed -e 's/crsc/cr22/' | sed -e 's/svg\|svgz/png/'`; \
+ $(top_builddir)/pics/ksvgtopng 32 32 $$file $(top_builddir)/pics/crystalsvg/generated/`basename $$file | sed -e 's/crsc/cr32/' | sed -e 's/svg\|svgz/png/'`; \
+ $(top_builddir)/pics/ksvgtopng 48 48 $$file $(top_builddir)/pics/crystalsvg/generated/`basename $$file | sed -e 's/crsc/cr48/' | sed -e 's/svg\|svgz/png/'`; \
+ $(top_builddir)/pics/ksvgtopng 64 64 $$file $(top_builddir)/pics/crystalsvg/generated/`basename $$file | sed -e 's/crsc/cr64/' | sed -e 's/svg\|svgz/png/'`; \
+ $(top_builddir)/pics/ksvgtopng 128 128 $$file $(top_builddir)/pics/crystalsvg/generated/`basename $$file | sed -e 's/crsc/cr128/' | sed -e 's/svg\|svgz/png/'`; \
+ done
+
+.PHONY: generate
+