File: Makefile

package info (click to toggle)
castle-model-viewer 5.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 58,588 kB
  • sloc: pascal: 654,327; sh: 314; xml: 282; makefile: 133
file content (20 lines) | stat: -rw-r--r-- 525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# See INSTALL file for some comments about installing desktop data.

APP_NAME := castle-model-viewer

APP_ICON := ../../www/logo/6_thicker.svg

ALL_IMAGES := $(APP_NAME).png $(APP_NAME).svg $(APP_NAME).icns

.PHONY: all_images
all_images: $(ALL_IMAGES)

# Copy/convert $(APP_ICON) to nice names, in svg and (48x48) png.
$(APP_NAME).svg: $(APP_ICON)
	cp -f $< $@

$(APP_NAME).png: $(APP_ICON)
	inkscape --export-width=48 --export-height=48 $< --export-png=$@

$(APP_NAME).icns: $(APP_ICON)
	../../scripts/svg_to_icns.sh $< $@