* support/scripts/sdcc.nsi: added include/pic16/*.h to the setup package
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 20 Oct 2004 21:05:47 +0000 (21:05 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 20 Oct 2004 21:05:47 +0000 (21:05 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3547 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
support/scripts/sdcc.nsi

index 4f71c922923f4bc32c47c273abcb4cec88d86088..e1a5733ceca4835ffb98006a30f5551b81aec559 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-20 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/sdcc.nsi: added include/pic16/*.h to the setup
+       package
+
 2004-10-20 Vangelis Rokas <vrokas AT otenet.gr>
 
        * device/lib/pic16/libsdcc/Makefile: added lregs directory in
index a7b90bd31aea5a5804cebbb3c7cbd45f06775c8f..995fd242aa63831f2744ee128f2c9f7a62ebfed3 100644 (file)
@@ -55,15 +55,7 @@ SetCompressor lzma
 
 !define SDCC_ROOT "."
 
-!define FROM_SNAPSHOT
-
-!ifdef FROM_SNAPSHOT
-!system "dir ${SDCC_ROOT}\device > NUL" <> 0
 !define DEV_ROOT "${SDCC_ROOT}"
-!else
-!system "dir ${SDCC_ROOT}\device > NUL" = 0
-!define DEV_ROOT "${SDCC_ROOT}\device"
-!endif
 
 !system "unix2dos ${SDCC_ROOT}\doc\ChangeLog_head.txt" = 0
 !system "unix2dos ${SDCC_ROOT}\doc\README.TXT" = 0
@@ -164,6 +156,8 @@ Section "SDCC include files"
   File "${DEV_ROOT}\include\asm\default\features.h"
   SetOutPath "$INSTDIR\include\asm\gbz80"
   File "${DEV_ROOT}\include\asm\gbz80\features.h"
+  SetOutPath "$INSTDIR\include\asm\pic16"
+  File "${DEV_ROOT}\include\asm\pic16\features.h"
   SetOutPath "$INSTDIR\include\asm\z80"
   File "${DEV_ROOT}\include\asm\z80\features.h"
   SetOutPath "$INSTDIR\include\pic16"
@@ -385,6 +379,7 @@ Section Uninstall
   Delete "$INSTDIR\lib\ds400\*.lib"
 
   Delete "$INSTDIR\include\asm\z80\*.h"
+  Delete "$INSTDIR\include\asm\pic16\*.h"
   Delete "$INSTDIR\include\asm\gbz80\*.h"
   Delete "$INSTDIR\include\asm\default\*.h"
   Delete "$INSTDIR\include\pic16\*.h"
@@ -418,6 +413,7 @@ Section Uninstall
   RMDir "$INSTDIR\lib"
 
   RMDir "$INSTDIR\include\asm\z80"
+  RMDir "$INSTDIR\include\asm\pic16"
   RMDir "$INSTDIR\include\asm\gbz80"
   RMDir "$INSTDIR\include\asm\default"
   RMDir "$INSTDIR\include\asm"