applnk: pixmaps/Makefile.am - make shouldn't try to do anything but install...

baggins baggins at pld-linux.org
Sun May 16 23:21:21 CEST 2010


Author: baggins                      Date: Sun May 16 21:21:21 2010 GMT
Module: applnk                        Tag: HEAD
---- Log message:
- make shouldn't try to do anything but install png files for all-am

---- Files affected:
applnk/pixmaps:
   Makefile.am (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: applnk/pixmaps/Makefile.am
diff -u applnk/pixmaps/Makefile.am:1.32 applnk/pixmaps/Makefile.am:1.33
--- applnk/pixmaps/Makefile.am:1.32	Sun May 16 23:02:48 2010
+++ applnk/pixmaps/Makefile.am	Sun May 16 23:21:16 2010
@@ -6,12 +6,14 @@
 svg_pixmaps = $(shell for i in scalable/*.svg ; do echo $$i ; done)
 png_pixmaps = $(shell for i in $(svg_pixmaps) ; do echo `basename $$i .svg`.png ; done)
 
-pixmaps_DATA = $(png_pixmaps)
-
-EXTRA_DIST = $(pixmaps_DATA)
+EXTRA_DIST = $(svg_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
+
+install-data-local:
+	install -d -m755 $(DESTDIR)$(pixmapsdir)
+	$(install_sh_DATA) *.png $(DESTDIR)$(pixmapsdir)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/applnk/pixmaps/Makefile.am?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list