2008-07-10 13:10:16 -07:00
|
|
|
top_srcdir=../..
|
|
|
|
top_builddir=$(top_srcdir)
|
|
|
|
|
2008-06-28 15:32:44 -07:00
|
|
|
include $(top_srcdir)/makerules/common.mk
|
2006-12-27 05:35:10 -08:00
|
|
|
|
2008-06-23 06:54:47 -07:00
|
|
|
SETUPFILE=$(PACKAGE)-$(PACKAGE_VERSION).exe
|
2006-12-27 05:35:10 -08:00
|
|
|
|
2007-01-08 17:28:01 -08:00
|
|
|
all:
|
|
|
|
ifdef INSTALLER
|
2006-12-27 05:35:10 -08:00
|
|
|
all: $(SETUPFILE)
|
2006-12-28 03:47:58 -08:00
|
|
|
endif
|
2006-12-27 05:35:10 -08:00
|
|
|
|
2008-06-28 15:32:14 -07:00
|
|
|
$(SETUPFILE): warzone2100.nsi $(top_builddir)/src/warzone2100.exe $(top_builddir)/data/base.wz $(top_builddir)/data/mp.wz $(top_builddir)/data/mods/global/grim.wz
|
2008-07-20 09:18:34 -07:00
|
|
|
$(MAKENSIS) -DPACKAGE="$(PACKAGE)" -DPACKAGE_NAME="$(PACKAGE_NAME)" -DPACKAGE_VERSION="$(PACKAGE_VERSION)" -DPACKAGE_BUGREPORT="$(PACKAGE_BUGREPORT)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(DEVDIR)" -DLOCALEDIR=$(LOCALEDIR) $<
|
2006-12-27 05:35:10 -08:00
|
|
|
|
|
|
|
clean:
|
2008-06-23 06:54:47 -07:00
|
|
|
$(RM_F) $(SETUPFILE)
|