summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4e8ad30..c8a98a8 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,15 @@ SVNSOFT=svn+ssh://svn.mandriva.com/svn/soft/theme/mandriva-theme/
SVNNAME=svn+ssh://svn.mandriva.com/svn/packages/cooker/mandriva-theme/current/
all:
- GIMP2_DIRECTORY=`pwd`/gimp gimp --console-messages -i -d -b '(begin (gimp-normalize-to-bootsplash-dirs 1.0 "*" "bootsplash/data/*.png") (gimp-quit 1))'
- GIMP2_DIRECTORY=`pwd`/gimp gimp --console-messages -i -d -b '(begin (gimp-normalize-to-bootsplash-dirs 1.0 "*" "gfxboot/*.png") (gimp-quit 1))'
-
+ @/bin/cp -f gimp/scripts/gimp-normalize-to-bootsplash.scm tmp-gimp-command
+ @for i in */bootsplash/data/*.png */gfxboot/*.png ; do \
+ echo \(gimp-normalize-to-bootsplash 1.0 \"$$i\" \"`dirname $$i`/`basename $$i .png`.jpg\"\) >> tmp-gimp-command; \
+ done
+ @echo \(gimp-quit 1\) >> tmp-gimp-command
+ @cat tmp-gimp-command | gimp --console-messages -i -d -b -
+ @rm -f tmp-gimp-command
+# GIMP2_DIRECTORY=`pwd`/gimp gimp --console-messages -i -d -b '(begin (gimp-normalize-to-bootsplash-dirs "1.0" "*" "bootsplash/data/*.png") (gimp-quit 1))'
+# GIMP2_DIRECTORY=`pwd`/gimp gimp --console-messages -i -d -b '(begin (gimp-normalize-to-bootsplash-dirs "1.0" "*" "gfxboot/*.png") (gimp-quit 1))'
install:
mkdir -p $(prefix)$(sharedir)/bootsplash/themes/
mkdir -p $(prefix)$(configdir)/bootsplash/themes/