virt-viewer/data/Makefile.am
Marc-André Lureau 03c3e4d08e Add virt-viewer-debug.exe NSIS installer
This installer will provide with the tools and configuration needed to
debug virt-viewer & remote-viewer. It will install itself by default in
virt-viewer directory.
2012-11-23 16:05:57 +01:00

23 lines
529 B
Makefile

NULL=
EXTRA_DIST = \
spice-xpi-client-remote-viewer \
virt-viewer.nsis.in \
virt-viewer-debug.nsis.in \
$(NULL)
if OS_WIN32
deps.txt:
$(AM_V_GEN)rpm -qa | grep $(host_os) | sort | unix2dos > $@
virt-viewer-$(VERSION).exe: virt-viewer.nsis deps.txt
$(AM_V_GEN)DESTDIR=`mktemp -d` && \
make -C $(top_builddir) install DESTDIR=$$DESTDIR >/dev/null && \
makensis -NOCD -DDESTDIR=$$DESTDIR $< >/dev/null && \
rm -rf $$DESTDIR
CLEANFILES = deps.txt virt-viewer-$(VERSION).exe
endif
-include $(top_srcdir)/git.mk