* src/SDCCsymt.c: fixed bug #1805702 - order of extern matters
[fw/sdcc] / support / scripts / sdcc.nsi
index d9bf571ea31b685e952307b201c8a42c74dae174..9900562fe365289c642ea3e2f453203058826532 100644 (file)
@@ -25,7 +25,7 @@
 
 # How to create WIN32 setup.exe
 #
-# - unpack WIN32 mingw daily snapshot sdcc-snapshot-i586-mingw32msvc-yyyymmdd.zip
+# - unpack WIN32 mingw daily snapshot sdcc-snapshot-i586-mingw32msvc-yyyymmdd-rrrr.zip
 #   to a clean directory (the option to create directories should be enabled).
 #   A sub directory sdcc is created (referenced as PKGDIR in continuation).
 # - copy files sdcc/support/scripts/sdcc.ico and sdcc/support/scripts/sdcc.nsi
 # - copy file COPYING from the sdcc Subversion snapshot to the PKGDIR directory,
 #   rename it to COPYING.TXT and convert file COPYING to DOS format:
 #   unix2dos COPYING.TXT
+# - copy readline5.dll to PKGDIR/bin/readline5.dll
 # - run NSIS installer from PKGDIR directory:
 #   "c:\Program Files\NSIS\makensis.exe" sdcc.nsi
 # - A setup file setup.exe is created in PKGDIR directory.
-#   Rename it to sdcc_yyyymmdd_setup.exe and upload it
+#   Rename it to sdcc-yyyymmdd-rrrr-setup.exe and upload it
 #   to sdcc download repository at sourceforge.net
 #
 #
+# How to create WIN32 release setup.exe package
+#
+# - unpack WIN32 mingw daily snapshot sdcc-snapshot-i586-mingw32msvc-yyyymmdd-rrrr.zip
+#   to a clean directory (the option to create directories should be enabled).
+#   A sub directory sdcc is created (referenced as PKGDIR in continuation).
+# - remove the PKGDIR/doc/README.TXT file
+# - unpack sdcc-doc-yyyymmdd-rrrr.zip to the PKGDIR/doc directory
+# - copy files sdcc/support/scripts/sdcc.ico and sdcc/support/scripts/sdcc.nsi
+#   (this file) from the sdcc Subversion snapshot to the PKGDIR directory
+# - copy file COPYING from the sdcc Subversion snapshot to the PKGDIR directory,
+#   rename it to COPYING.TXT and convert file COPYING to DOS format:
+#   unix2dos COPYING.TXT
+# - copy readline5.dll to PKGDIR/bin/readline5.dll
+# - run NSIS installer from PKGDIR directory:
+#   "c:\Program Files\NSIS\makensis.exe" -DFULL_DOC sdcc.nsi
+# - A setup file setup.exe is created in PKGDIR directory.
+#   Rename it to sdcc-x.x.x-setup.exe and upload it
+#   to sdcc download repository at sourceforge.net
+#
 # How to upload secc setup.exe tosourceforge.net
 #
 # Execute following commands from the cmd prompt:
@@ -60,9 +80,9 @@ SetCompressor /SOLID lzma
 !system "unix2dos ${SDCC_ROOT}\doc\ChangeLog_head.txt" = 0
 !system "unix2dos ${SDCC_ROOT}\doc\README.TXT" = 0
 
-InstType "Full (Bin, Doc, Lib, Src)"
-InstType "Medium (Bin, Doc, Lib)"
-InstType "Compact (Bin, Doc)"
+InstType "Full (Bin, ucSim, SDCDB, Doc, Lib, Src)"
+InstType "Medium (Bin, ucSim, SDCDB, Doc, Lib)"
+InstType "Compact (Bin, ucSim, SDCDB, Doc)"
 
 ;--------------------------------
 ;Variables
@@ -140,7 +160,36 @@ SectionEnd
 Section "SDCC application files"
   SectionIn 1 2 3 RO
   SetOutPath "$INSTDIR\bin"
-  File "${SDCC_ROOT}\bin\*.exe"
+  File "${SDCC_ROOT}\bin\as-gbz80.exe"
+  File "${SDCC_ROOT}\bin\as-hc08.exe"
+  File "${SDCC_ROOT}\bin\as-z80.exe"
+  File "${SDCC_ROOT}\bin\asx8051.exe"
+  File "${SDCC_ROOT}\bin\aslink.exe"
+  File "${SDCC_ROOT}\bin\link-gbz80.exe"
+  File "${SDCC_ROOT}\bin\link-hc08.exe"
+  File "${SDCC_ROOT}\bin\link-z80.exe"
+  File "${SDCC_ROOT}\bin\makebin.exe"
+  File "${SDCC_ROOT}\bin\packihx.exe"
+  File "${SDCC_ROOT}\bin\sdcc.exe"
+  File "${SDCC_ROOT}\bin\sdcclib.exe"
+  File "${SDCC_ROOT}\bin\sdcpp.exe"
+  File "${SDCC_ROOT}\bin\readline5.dll"
+SectionEnd
+
+Section "ucSim application files"
+  SectionIn 1 2 3
+  SetOutPath "$INSTDIR\bin"
+  File "${SDCC_ROOT}\bin\s51.exe"
+  File "${SDCC_ROOT}\bin\savr.exe"
+  File "${SDCC_ROOT}\bin\shc08.exe"
+  File "${SDCC_ROOT}\bin\sz80.exe"
+SectionEnd
+
+Section "SDCDB files"
+  SectionIn 1 2 3
+  File "${SDCC_ROOT}\bin\sdcdb.exe"
+  File "${SDCC_ROOT}\bin\sdcdb.el"
+  File "${SDCC_ROOT}\bin\sdcdbsrc.el"
 SectionEnd
 
 Section "SDCC documentation"
@@ -598,7 +647,30 @@ Section Uninstall
   Delete "$INSTDIR\doc\ChangeLog_head.txt"
 !endif
 
-  Delete "$INSTDIR\bin\*.exe"
+  Delete "$INSTDIR\bin\as-gbz80.exe"
+  Delete "$INSTDIR\bin\as-hc08.exe"
+  Delete "$INSTDIR\bin\as-z80.exe"
+  Delete "$INSTDIR\bin\asx8051.exe"
+  Delete "$INSTDIR\bin\aslink.exe"
+  Delete "$INSTDIR\bin\link-gbz80.exe"
+  Delete "$INSTDIR\bin\link-hc08.exe"
+  Delete "$INSTDIR\bin\link-z80.exe"
+  Delete "$INSTDIR\bin\makebin.exe"
+  Delete "$INSTDIR\bin\packihx.exe"
+  Delete "$INSTDIR\bin\sdcc.exe"
+  Delete "$INSTDIR\bin\sdcclib.exe"
+  Delete "$INSTDIR\bin\sdcpp.exe"
+  Delete "$INSTDIR\bin\readline5.dll"
+
+
+  Delete "$INSTDIR\bin\s51.exe"
+  Delete "$INSTDIR\bin\savr.exe"
+  Delete "$INSTDIR\bin\shc08.exe"
+  Delete "$INSTDIR\bin\sz80.exe"
+
+  Delete "$INSTDIR\bin\sdcdb.exe"
+  Delete "$INSTDIR\bin\sdcdb.el"
+  Delete "$INSTDIR\bin\sdcdbsrc.el"
 
   Delete "$INSTDIR\COPYING.TXT"
   Delete "$INSTDIR\sdcc.ico"