spiegel-keyman/windows/src/developer/inst/Makefile
Marc Durdin 845d65e5e4 chore(windows): remove backup build step
We no longer need to backup debug files as they are saved to the symbol
store during a release build. This reduces the amount of storage
required for a release build and should speed up the build also.

Also fixes the broken build where backup had not been updated for the
new consistent build paths.
2021-07-07 08:09:26 +10:00

82 lines
1.6 KiB
Makefile

#
# Keyman Developer installation builder Makefile
#
!include ..\..\Defines.mak
# ----------------------------------------------------------------------
DEVELOPER_FILES=kmdev.wixobj xml.wixobj cef.wixobj templates.wixobj kmlmc.wixobj
setup:
#
# Prepare file version information
#
cd $(ROOT)\src\developer\inst
$(MKVER_U) download.in download.mak
#
# Build the installation archive
#
$(MAKE) -fdownload.mak candle
$(WIXLIGHT) -sice:ICE91 -sice:ICE60 -dWixUILicenseRtf=License.rtf -out keymandeveloper.msi -ext WixUIExtension $(DEVELOPER_FILES)
$(MAKE) -fdownload.mak clean-heat
#
# Sign the installation archive
#
$(SIGNCODE) /d "Keyman Developer" keymandeveloper.msi
#
# Copy the installation archive
#
cd $(ROOT)\src\developer\inst
$(MAKE) -fdownload.mak
build:
@rem
signcode:
@rem
wrap-symbols:
@rem
clean:
cd $(ROOT)\src\developer\inst
-del /Q download.mak
-del /Q *.msi
-del /Q *.msp
-del /Q *.wixobj
-del /Q *.log
-del /Q *.pcp
-del /Q setup.inf
-del /Q setup.zip
-del /Q *.exe
-del /Q *.wixpdb
-del /Q xml.wxs
-del /Q cef.wxs
-del /Q templates.wxs
-del /Q kmlmc.wxs
test-releaseexists:
cd $(ROOT)\src\developer\inst
$(MKVER_U) download.in download.mak
$(MAKE) -fdownload.mak test-releaseexists
install:
@rem
# ----------------------------------------------------------------------
!include ..\..\Target.mak
# ----------------------------------------------------------------------
# EOF
# ----------------------------------------------------------------------