From bff6a2a600dab3dc99e7b35a882b8f89e9756da8 Mon Sep 17 00:00:00 2001 From: borutr Date: Wed, 20 Oct 2004 21:05:47 +0000 Subject: [PATCH] * support/scripts/sdcc.nsi: added include/pic16/*.h to the setup package git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3547 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 5 +++++ support/scripts/sdcc.nsi | 12 ++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4f71c922..e1a5733c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-20 Borut Razem + + * support/scripts/sdcc.nsi: added include/pic16/*.h to the setup + package + 2004-10-20 Vangelis Rokas * device/lib/pic16/libsdcc/Makefile: added lregs directory in diff --git a/support/scripts/sdcc.nsi b/support/scripts/sdcc.nsi index a7b90bd3..995fd242 100644 --- a/support/scripts/sdcc.nsi +++ b/support/scripts/sdcc.nsi @@ -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" -- 2.30.2