spiegel-keyman/windows/src/engine/inst/Makefile
Marc Durdin eade8c34f3 refactor(windows): Use 14.0-style versioning
Moves all version construction to use VERSION.md and
TIER.md and reduces intermediate file usage, so we can
present sensible versions across the project.
2020-03-18 17:25:39 +11:00

77 lines
1.6 KiB
Makefile

#
# engine installation builder Makefile
#
!include ..\..\Defines.mak
# ----------------------------------------------------------------------
ENGINE_FILES=keymanengine.wixobj components.wixobj
setup: msm copy
build:
cd $(ROOT)\src\engine\inst\insthelper
$(MAKE) build
signcode:
cd $(ROOT)\src\engine\inst\insthelper
$(MAKE) signcode
backup:
cd $(ROOT)\src\engine\inst\insthelper
$(MAKE) backup
msm:
#
# Copy files for installation
#
$(MKVER_U) download.in download.mak
#
# Make the installation archive
#
$(MAKE) -fdownload.mak prepareredist
$(MAKE) -fdownload.mak candle
# warning 1072 relates to Error table defined by WixUtilExtension. Doesn't really affect us.
$(WIXLIGHT) -sw1072 -ext WixUtilExtension $(ENGINE_FILES) -o keymanengine.msm
copy:
#
# Sign the installation archive
#
cd $(ROOT)\src\engine\inst
$(SIGNCODE) /d "Keyman Engine" keymanengine.msm
#
# Copy the installation archive
#
cd $(ROOT)\src\engine\inst
copy $(ROOT)\src\engine\inst\keymanengine.msm $(ROOT)\bin\developer\wix
$(MAKE) -fdownload.mak copyredist
clean:
cd $(ROOT)\src\engine\inst\insthelper
$(MAKE) clean
cd $(ROOT)\src\engine\inst
if exist download.mak $(MAKE) -fdownload.mak clean
-del /Q download.mak
-del /Q *.msm
-del /Q *.wixobj
-del /Q *.wixpdb
install:
rem nothing
# ----------------------------------------------------------------------
!include ..\..\Target.mak
# ----------------------------------------------------------------------
# EOF
# ----------------------------------------------------------------------