Ryujinx-GtkSharp/msi/unmanaged/Makefile.am
stil 5063385d16 AppVeyor integration (#25)
* Fix minor bugs and improve code formatting of Python build tool

* Prepend $PATH to give it higher priority

* Invoke WiX tools through variable to ensure correct path

* Make build script ensure pacman dependencies are installed

* pacman -Sy causes dependency break on AppVeyor

* Skip deps version check and don't show progress bar
2017-02-05 07:07:05 +01:00

34 lines
798 B
Makefile

if ENABLE_MSI
TARGET=unmanaged.msm
else
TARGET=
endif
noinst_DATA = $(TARGET)
DOWNLOADS = downloads.win32
download-stamp: $(DOWNLOADS)
rm -rf source
mkdir -p source
cd source && for i in `cat ../$(DOWNLOADS)`; do wget --no-check-certificate $$i; done && for j in `ls *.zip`; do unzip $$j; rm $$j; done
touch download-stamp
unmanaged.wixobj: unmanaged.wxs redirector.exe download-stamp
$(WIX_CANDLE) unmanaged.wxs
unmanaged.msm: unmanaged.wixobj
$(WIX_LIGHT) unmanaged.wixobj
bundle-scanner.exe: bundle-scanner.cs
$(CSC) bundle-scanner.cs
redirector.exe: redirector.cs
$(CSC) redirector.cs
scan: download-stamp bundle-scanner.exe
$(RUNTIME) bundle-scanner.exe --wix=unmanaged.wxs --bundle=source
CLEANFILES = source
EXTRA_DIST = redirector.cs unmanaged.wxs downloads.win32 ignores