warzone2100/pkg/nsis/makefile.win32

18 lines
656 B
Plaintext

top_srcdir=../..
top_builddir=$(top_srcdir)
include $(top_srcdir)/makerules/common.mk
SETUPFILE=$(PACKAGE)-$(PACKAGE_VERSION).exe
all:
ifdef INSTALLER
all: $(SETUPFILE)
endif
$(SETUPFILE): warzone2100.nsi $(top_builddir)/src/warzone2100.exe $(top_builddir)/data/base.wz $(top_builddir)/data/mp.wz
$(MAKENSIS) -DOUTFILE="$(builddir)/$@" -DPACKAGE="$(PACKAGE)" -DPACKAGE_NAME="$(PACKAGE_NAME)" -DPACKAGE_VERSION="$(PACKAGE_VERSION)" -DPACKAGE_BUGREPORT="$(PACKAGE_BUGREPORT)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(DEVDIR)" -DTOP_SRCDIR="$(top_srcdir)" -DTOP_BUILDDIR="$(top_builddir)" -DLOCALEDIR=$(LOCALEDIR) $<
clean:
$(RM_F) $(SETUPFILE)