We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0051b2b commit bf7a8e9Copy full SHA for bf7a8e9
1 file changed
Makefile
@@ -130,10 +130,10 @@ build-cran:
130
favicons: ${favicons}
131
132
export-favicon = \
133
- @sz=$$(sed 's/.*x\([[:digit:]]*\)\.png/\1/' <<<"$@") \
134
- && set -x; \
+ @sz=$$(echo "$@" | sed 's/.*x\([[:digit:]]*\)\.png/\1/'); \
135
inkscape -w $$sz -h $$sz --export-area $1 --export-filename=${@D}/tmp-${@F} $< \
136
- && pngcrush -q ${@D}/tmp-${@F} $@ && rm ${@D}/tmp-${@F}
+ && pngcrush -q ${@D}/tmp-${@F} $@ \
+ && ${RM} ${@D}/tmp-${@F}
137
138
${favicons_small}: figures/logo.svg | pkgdown/favicon
139
$(call export-favicon,-11:1000:181:1192)
0 commit comments