File: Makefile

package info (click to toggle)
view3dscene 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,824 kB
  • sloc: pascal: 3,961; sh: 330; xml: 261; makefile: 133
file content (20 lines) | stat: -rw-r--r-- 557 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 := view3dscene

VIEW3DSCENE_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 $(VIEW3DSCENE_ICON) to nice names, in svg and (48x48) png.
$(APP_NAME).svg: $(VIEW3DSCENE_ICON)
	cp -f $< $@

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

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