We should use rsvg_convert over rsvg
authorRoy Marples <roy@marples.name>
Thu, 2 Apr 2009 08:49:16 +0000 (08:49 +0000)
committerRoy Marples <roy@marples.name>
Thu, 2 Apr 2009 08:49:16 +0000 (08:49 +0000)
mk/icon.mk

index 090064ee4b81b77c7c6600b267ee759b32b3abca..1a62fbd95092c08c21275d435a84e72793321dcf 100644 (file)
@@ -3,7 +3,7 @@ include ${MK}/sys.mk
 SIZEDIR?=      ${SIZE}x${SIZE}
 ICONDIR?=      ${PREFIX}/share/dhcpcd/icons/hicolor/${SIZEDIR}/${CATEGORY}
 
-RSVG?=         rsvg
+RSVG_CONVERT?= rsvg-convert
 
 ICONS+=                ${SRCS:.svg=.png}
 CLEANFILES+=   ${SRCS:.svg=.png}
@@ -13,7 +13,7 @@ CLEANFILES+=  ${SRCS:.svg=.png}
 all: ${ICONS}
 
 .svg.png:
-       ${RSVG} -h ${SIZE} -w ${SIZE} $< $@
+       ${RSVG_CONVERT} -h ${SIZE} -w ${SIZE} $< >$@
 
 _iconinstall: ${ICONS}
        ${INSTALL} -d ${DESTDIR}${ICONDIR}