2007-06-22 09:01:46 -07:00
|
|
|
INSTALLERFILE=$(PACKAGE)-$(VERSION).exe
|
|
|
|
UPDATERFILE=$(PACKAGE)-$(VERSION).update.exe
|
2006-12-27 13:44:46 -08:00
|
|
|
|
2007-02-15 07:36:25 -08:00
|
|
|
CLEANFILES=$(INSTALLERFILE)
|
|
|
|
|
2007-01-08 17:28:01 -08:00
|
|
|
if INSTALLER
|
2006-12-27 13:44:46 -08:00
|
|
|
all: $(INSTALLERFILE)
|
2007-01-08 17:28:01 -08:00
|
|
|
endif
|
2006-12-27 13:44:46 -08:00
|
|
|
|
2007-06-22 09:01:46 -07:00
|
|
|
data:
|
2008-02-18 07:39:42 -08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) -C ../../data/ data
|
2007-06-22 09:01:46 -07:00
|
|
|
|
2008-02-18 07:39:42 -08:00
|
|
|
$(INSTALLERFILE): warzone2100.nsi ../../src/warzone2100.exe data
|
2008-04-20 17:44:46 -07:00
|
|
|
$(MAKENSIS) -DPACKAGE="$(PACKAGE)" -DPACKAGE_NAME="$(PACKAGE_NAME)" -DPACKAGE_VERSION="$(PACKAGE_VERSION)" -DPACKAGE_BUGREPORT="$(PACKAGE_BUGREPORT)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(INSTALLER_EXTDIR)" -X"SetCompressor /FINAL /SOLID ${INSTALLER_COMPRESSION}" $<
|
2007-06-22 09:01:46 -07:00
|
|
|
|
|
|
|
$(UPDATERFILE): warzone2100.update.nsi
|
2008-04-20 17:44:46 -07:00
|
|
|
$(MAKENSIS) -DVERSION="$(VERSION)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(INSTALLER_EXTDIR)" -X"SetCompressor /FINAL /SOLID ${INSTALLER_COMPRESSION}" $<
|