mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-31 04:37:41 +00:00
81 lines
1.7 KiB
Makefile
81 lines
1.7 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
|
|
|
|
wrap-symbols:
|
|
cd $(ROOT)\src\engine\inst\insthelper
|
|
$(MAKE) symbols
|
|
|
|
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
|
|
# ----------------------------------------------------------------------
|