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:
|
2007-09-22 04:45:49 -07:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) -C ../data/ data
|
2007-06-22 09:01:46 -07:00
|
|
|
|
|
|
|
$(INSTALLERFILE): warzone2100.nsi ../src/warzone2100.exe data
|
2007-09-22 14:47:22 -07:00
|
|
|
$(MAKENSIS) -DPACKAGE="$(PACKAGE)" -DPACKAGE_NAME="$(PACKAGE_NAME)" -DPACKAGE_VERSION="$(PACKAGE_VERSION)" -DPACKAGE_BUGREPORT="$(PACKAGE_BUGREPORT)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(INSTALLER_EXTDIR)" $<
|
2007-06-22 09:01:46 -07:00
|
|
|
|
|
|
|
$(UPDATERFILE): warzone2100.update.nsi
|
|
|
|
$(MAKENSIS) -DVERSION="$(VERSION)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(INSTALLER_EXTDIR)" $<
|