Debian Codegraph @

freedesktop/Makefile

raw
1 # See INSTALL file for some comments about installing desktop data.
2
3 APP_NAME := castle-model-viewer
4
5 APP_ICON := ../../www/logo/6_thicker.svg
6
7 ALL_IMAGES := $(APP_NAME).png $(APP_NAME).svg $(APP_NAME).icns
8
9 .PHONY: all_images
10 all_images: $(ALL_IMAGES)
11
12 # Copy/convert $(APP_ICON) to nice names, in svg and (48x48) png.
13 $(APP_NAME).svg: $(APP_ICON)
14 cp -f $< $@
15
16 $(APP_NAME).png: $(APP_ICON)
17 inkscape --export-width=48 --export-height=48 $< --export-png=$@
18
19 $(APP_NAME).icns: $(APP_ICON)
20 ../../scripts/svg_to_icns.sh $< $@