VERSION_NUMBER=1.0.3 #needs the same format as dist dir, e.g. "dist-x.x.x-svnXXX" VERSION_DATE=20101028 PRODUCTVERSION=1.0.3.0 #needs for version info of installer file (Format: x.x.x.x) = "VIProductVersion" in NSIS Installer all: # read all input files ./geninputfiles.sh ${VERSION_NUMBER} > inputfiles.nsh # build NSIS installer makensis -DVERSION_NUMBER=${VERSION_NUMBER} -DVERSION_DATE=${VERSION_DATE} -DPRODUCTVERSION=${PRODUCTVERSION} inteproxy-installer.nsi