applnk: INSTALL, pixmaps/Makefile.am - cleaner way to regenerate PNGs, work...
baggins
baggins at pld-linux.org
Sun May 16 23:56:20 CEST 2010
Author: baggins Date: Sun May 16 21:56:20 2010 GMT
Module: applnk Tag: HEAD
---- Log message:
- cleaner way to regenerate PNGs, works nicely with 'make dist'
---- Files affected:
applnk:
INSTALL (1.2 -> 1.3)
applnk/pixmaps:
Makefile.am (1.34 -> 1.35)
---- Diffs:
================================================================
Index: applnk/INSTALL
diff -u applnk/INSTALL:1.2 applnk/INSTALL:1.3
--- applnk/INSTALL:1.2 Sun May 16 23:37:27 2010
+++ applnk/INSTALL Sun May 16 23:56:15 2010
@@ -1,4 +1,2 @@
-You need to run `make render-png` in pixmaps directory
-before `make dist`.
inkscape is required to generate png from svgfiles.
================================================================
Index: applnk/pixmaps/Makefile.am
diff -u applnk/pixmaps/Makefile.am:1.34 applnk/pixmaps/Makefile.am:1.35
--- applnk/pixmaps/Makefile.am:1.34 Sun May 16 23:31:16 2010
+++ applnk/pixmaps/Makefile.am Sun May 16 23:56:15 2010
@@ -8,11 +8,10 @@
EXTRA_DIST = $(png_pixmaps)
-render-png: $(svg_pixmaps) Makefile
- for file in $(svg_pixmaps); do \
- pngfile="`basename $$file .svg`.png"; \
- inkscape -z -w 48 -h 48 -y 0.0 -d 90 -f $$file -e $$pngfile; \
- done
+%.png: scalable/%.svg
+ inkscape -z -w 48 -h 48 -y 0.0 -d 90 -f $< -e $@
+
+render-png: $(png_pixmaps) Makefile
install-data-local:
install -d -m755 $(DESTDIR)$(pixmapsdir)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/applnk/INSTALL?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/applnk/pixmaps/Makefile.am?r1=1.34&r2=1.35&f=u
More information about the pld-cvs-commit
mailing list