[geany/geany] e65604: Add a new section to the Windows installer to install header files

Enrico Tröger git-noreply at xxxxx
Thu Apr 10 22:07:33 UTC 2014


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Thu, 10 Apr 2014 22:07:33 UTC
Commit:      e656043874c922ce88886ca5fe47980f029fc0d7
             https://github.com/geany/geany/commit/e656043874c922ce88886ca5fe47980f029fc0d7

Log Message:
-----------
Add a new section to the Windows installer to install header files


Modified Paths:
--------------
    geany.nsi

Modified: geany.nsi
12 files changed, 12 insertions(+), 0 deletions(-)
===================================================================
@@ -227,6 +227,16 @@ Section "Desktop Shortcuts" SEC08
 	CreateShortCut "$QUICKLAUNCH\Geany.lnk" "$INSTDIR\bin\Geany.exe"
 SectionEnd
 
+; Development files
+Section "Development files" SEC09
+	SetOverwrite ifnewer
+	SetOutPath "$INSTDIR\include"
+	File /r "${RESOURCEDIR}\include\*"
+
+	SetOutPath "$INSTDIR\lib\pkgconfig"
+	File "${RESOURCEDIR}\lib\pkgconfig\geany.pc"
+SectionEnd
+
 Section -AdditionalIcons
 	SetOutPath $INSTDIR
 	!insertmacro MUI_STARTMENU_WRITE_BEGIN ${PRODUCT_NAME}
@@ -277,6 +287,7 @@ Section Uninstall
 	RMDir /r "$INSTDIR\doc"
 	RMDir /r "$INSTDIR\data"
 	RMDir /r "$INSTDIR\etc"
+	RMDir /r "$INSTDIR\include"
 	RMDir /r "$INSTDIR\lib"
 	RMDir /r "$INSTDIR\share"
 	RMDir "$INSTDIR"
@@ -314,6 +325,7 @@ SectionEnd
 !endif
 !insertmacro MUI_DESCRIPTION_TEXT ${SEC07} "Add context menu item 'Open With Geany'"
 !insertmacro MUI_DESCRIPTION_TEXT ${SEC08} "Create shortcuts for Geany on the desktop and in the Quicklaunch Bar"
+!insertmacro MUI_DESCRIPTION_TEXT ${SEC09} "You need these files only if you want to develop own plugins for Geany. If unsure, you can skip it."
 !insertmacro MUI_FUNCTION_DESCRIPTION_END
 
 ;;;;;;;;;;;;;;;;;;;;;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list