From 7380b6f267977ef39330155d19c28be1d5e83e61 Mon Sep 17 00:00:00 2001 From: borutr Date: Mon, 31 Jul 2006 13:07:24 +0000 Subject: [PATCH] sdcc: * Small Device C Compiler 2.6.0 released * support/scripts/sdcc.nsi: added FULL_DOC option sdcc-web: * index.php: Small Device C Compiler 2.6.0 released git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4311 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/scripts/sdcc.nsi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/support/scripts/sdcc.nsi b/support/scripts/sdcc.nsi index bf49e3c7..d9bf571e 100644 --- a/support/scripts/sdcc.nsi +++ b/support/scripts/sdcc.nsi @@ -26,7 +26,7 @@ # How to create WIN32 setup.exe # # - unpack WIN32 mingw daily snapshot sdcc-snapshot-i586-mingw32msvc-yyyymmdd.zip -# to a clean directory (the option to create directories should be enambled). +# 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 # (this file) from the sdcc Subversion snapshot to the PKGDIR directory @@ -146,8 +146,12 @@ SectionEnd Section "SDCC documentation" SectionIn 1 2 3 SetOutPath "$INSTDIR\doc" +!ifdef FULL_DOC + File /r "${SDCC_ROOT}\doc\*" +!else File "${SDCC_ROOT}\doc\ChangeLog_head.txt" File "${SDCC_ROOT}\doc\README.TXT" +!endif SectionEnd Section "SDCC include files" @@ -589,8 +593,10 @@ Section Uninstall Delete "$INSTDIR\include\hc08\*.h" Delete "$INSTDIR\include\*.h" +!ifndef FULL_DOC Delete "$INSTDIR\doc\README.TXT" Delete "$INSTDIR\doc\ChangeLog_head.txt" +!endif Delete "$INSTDIR\bin\*.exe" @@ -641,7 +647,11 @@ Section Uninstall RMDir "$INSTDIR\include\hc08" RMDir "$INSTDIR\include" +!ifdef FULL_DOC + RMDir /r "$INSTDIR\doc" +!else RMDir "$INSTDIR\doc" +!endif RMDir "$INSTDIR\bin" -- 2.30.2