diff makeinst-script.sh @ 3356:2e44e8f86cd6

makeinst-script.sh: add license page with GPLv3
author Anirudha Bose <ani07nov@gmail.com>
date Tue, 23 Jul 2013 22:50:25 -0400
parents bc7e18e12dcc
children 456b6e533054
line wrap: on
line diff
--- a/makeinst-script.sh	Tue Jul 23 22:47:19 2013 -0400
+++ b/makeinst-script.sh	Tue Jul 23 22:50:25 2013 -0400
@@ -29,6 +29,7 @@
 !define VERSION "3.7.5.0"
 !define COPYRIGHT "Copyright © 2013 John W. Eaton and others."
 !define DESCRIPTION "GNU Octave is a high-level programming language, primarily intended for numerical computations."
+!define LICENSE_TXT "../gpl-3.0.txt"
 !define INSTALLER_NAME "octave-installer.exe"
 !define MAIN_APP_EXE "octave.exe"
 !define INSTALL_TYPE "SetShellVarContext current"
@@ -63,6 +64,10 @@
 
 !insertmacro MUI_PAGE_WELCOME
 
+!ifdef LICENSE_TXT
+!insertmacro MUI_PAGE_LICENSE "\${LICENSE_TXT}"
+!endif
+
 !insertmacro MUI_PAGE_DIRECTORY
 
 !insertmacro MUI_PAGE_INSTFILES