Ticket #384: Makefile.am.diff
File Makefile.am.diff, 1.6 KB (added by stressedpiper, 12 years ago) |
---|
-
Makefile.am
140 140 nav_svgs += nav_straight_bk.svg nav_straight_wh.svg nav_turnaround_left_bk.svg nav_turnaround_left_wh.svg 141 141 nav_svgs += nav_turnaround_right_bk.svg nav_turnaround_right_wh.svg 142 142 143 flag_svgs = country_ AD.svgz country_AE.svgz country_AF.svgz country_AG.svgz country_AI.svgz country_AL.svgz country_AM.svgz143 flag_svgs = country_.svgz country_AD.svgz country_AE.svgz country_AF.svgz country_AG.svgz country_AI.svgz country_AL.svgz country_AM.svgz 144 144 flag_svgs += country_AN.svgz country_AO.svgz country_AQ.svgz country_AR.svgz country_AS.svgz country_AT.svgz country_AU.svgz country_AW.svgz 145 145 flag_svgs += country_AX.svgz country_AZ.svgz country_BA.svgz country_BB.svgz country_BD.svgz country_BE.svgz country_BF.svgz 146 146 flag_svgs += country_BG.svgz country_BH.svgz country_BI.svgz country_BJ.svgz country_BL.svgz country_BM.svgz country_BN.svgz … … 181 181 endif 182 182 183 183 if USE_SVG2PNG 184 %.png:$(srcdir)/*.svgz 185 SRCDIR=$(srcdir) $(srcdir)/navit_svg2png "@SVG2PNG@" "$@" 184 186 %.png:$(srcdir)/*.svg 185 187 SRCDIR=$(srcdir) $(srcdir)/navit_svg2png "@SVG2PNG@" "$@" 186 pngs = $(addsuffix .png,$(basename $(svgs) ))187 xsize=$( firstword$(subst x, ,$(scale)))188 ysize=$( lastword$(subst x, ,$(scale)))188 pngs = $(addsuffix .png,$(basename $(svgs) $(nav_svgs) $(flag_svgs))) 189 xsize=$(word 1,$(subst x, ,$(scale))) 190 ysize=$(word $(words $(scale)),$(subst x, ,$(scale))) 189 191 comma=, 190 192 if USE_SVG2PNG_SCALES 191 193 pngs += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(svgs))))