mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-03-15 02:50:06 +03:00
Some distros (a 4-letters) don't have icotool. Let's ship the .ico in the tarball. The build will fail if icoutil is not installed when building from git or when the .ico is absent. The error should be explicit.
15 lines
374 B
Makefile
15 lines
374 B
Makefile
SUBDIRS = 16x16 22x22 24x24 32x32 48x48 256x256
|
|
|
|
if OS_WIN32
|
|
noinst_DATA = virt-viewer.ico
|
|
endif
|
|
|
|
# http://stackoverflow.com/questions/3236115/which-icon-sizes-should-my-windows-applications-icon-include
|
|
ico_sizes = 16 32 48 256
|
|
%.ico: $(foreach s,$(ico_sizes),$(s)x$(s)/%.png)
|
|
$(AM_V_GEN)$(ICOTOOL) -c -o $@ $^
|
|
|
|
EXTRA_DIST = virt-viewer.ico
|
|
|
|
-include $(top_srcdir)/git.mk
|