Assuming that the environment is already configured as described previously, to create the project distribution packages, execute:
make distributions
When the building process finishes, the distribution folder will be created in the root directory of the project source containing the appropriate OS specific binary distributions.
On Windows, to have the resulting ‘.exe’ file automatically signed, the file called ‘sign.properties’ should be placed in the root directory of the projects source with the following properties:
sign.tool - absolute path to the sign tool executable file sign.privatekey - absolute path to the private key used for signing sign.pwd - password for signing sign.alias - sign alias
example sign.properties file:
sign.tool=D:/signtool/signtool.exe sign.privatekey=D:/signtool/privatekey.pfx sign.pwd=agles87t24e25NDwas sign.alias=pvktmp:3852567a-45er-567y-w456-23456789sdft
Sign alias can be produced by the usage of Java's keytool by executing the command:
keytool -v -list -storetype pkcs12 -storepass PRIVATE-KEY-PASSWORD -keystore PATH-TO-PRIVATE-KEY
where PRIVATE-KEY-PASSWORD is the same as the property sign.pwd from sign.properties file described above, and PATH-TO-PRIVATE-KEY is the same as the property sign.privatekey from this properties file.