2006-07-12 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 12 Jul 2006 21:37:12 +0000 (21:37 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 12 Jul 2006 21:37:12 +0000 (21:37 +0000)
* src/inst-sections.nsi: Install start menu and desktop link for
the sylpheed manual.
* src/inst-sylpheed-claws.nsi: Install manual.
(DESC_Menu_sylpheed_pdf): New translation.
* src/uninst-sylpheed-claws.nsi: Uninstall manual.

ChangeLog
src/inst-sections.nsi
src/inst-sylpheed-claws.nsi
src/uninst-sylpheed-claws.nsi

index 7b3d9e7..0369863 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-07-12  Marcus Brinkmann  <marcus@g10code.de>
+
+       * src/inst-sections.nsi: Install start menu and desktop link for
+       the sylpheed manual.
+       * src/inst-sylpheed-claws.nsi: Install manual.
+       (DESC_Menu_sylpheed_pdf): New translation.
+       * src/uninst-sylpheed-claws.nsi: Uninstall manual.
+
 2006-06-28  Werner Koch  <wk@g10code.com>
 
        * Makefile.am (copy-news): New target.
index a8b0d8e..269f3c5 100644 (file)
@@ -499,6 +499,11 @@ Section "-startmenu"
     CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Sylpheed-Claws.lnk" \
        "$INSTDIR\sylpheed-claws.exe" \
         "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_sylpheed)
+!ifndef GPG4WIN_LIGHT
+    CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Sylpheed Claws Manual.lnk" \
+       "$INSTDIR\sylpheed-claws-manual.pdf" \
+       "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_sylpheed_pdf)
+!endif
   no_sylpheed_menu:
 !endif
 
@@ -595,6 +600,11 @@ Section "-startmenu"
     CreateShortCut "$DESKTOP\Sylpheed-Claws.lnk" \
        "$INSTDIR\sylpheed-claws.exe" \
         "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_sylpheed)
+!ifndef GPG4WIN_LIGHT
+    CreateShortCut "$DESKTOP\Sylpheed-Claws Manual.lnk" \
+       "$INSTDIR\sylpheed-claws-manual.pdf" \
+       "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_sylpheed_pdf)
+!endif
   no_sylpheed_desktop:
 !endif
 
index 80d9961..1c32597 100644 (file)
@@ -31,6 +31,10 @@ Section /o "Sylpheed-Claws" SEC_sylpheed
 !else
   File ${prefix}/bin/sylpheed-claws.exe
 
+!ifndef GPG4WIN_LIGHT
+  File ${prefix}/share/sylpheed-claws/manual/en/sylpheed-claws-manual.pdf
+!endif
+
   SetOutPath "$INSTDIR\lib\sylpheed-claws\plugins"
   File ${prefix}/lib/sylpheed-claws/plugins/pgpcore.dll
   File ${prefix}/lib/sylpheed-claws/plugins/pgpinline.dll
@@ -54,3 +58,8 @@ LangString DESC_Menu_sylpheed ${LANG_ENGLISH} \
    "Run the Sylpheed-Claws mailprogram."
 LangString DESC_Menu_sylpheed ${LANG_GERMAN} \
    "Das Mailprogramm Sylpheed-Claws aufrufen."
+
+LangString DESC_Menu_sylpheed_pdf ${LANG_ENGLISH} \
+   "Show the online manual of Sylpheed Claws"
+LangString DESC_Menu_sylpheed_pdf ${LANG_GERMAN} \
+   "Das englische Handbuch zu Sylpheed Claws anzeigen"
index 48ef48b..8f37130 100644 (file)
@@ -32,6 +32,10 @@ Section "-un.sylpheed"
 !else
   Delete "$INSTDIR\sylpheed-claws.exe"
 
+!ifndef GPG4WIN_LIGHT
+  Delete "$INSTDIR\sylpheed-claws-manual.pdf"
+!endif
+
   Delete "$INSTDIR\lib\sylpheed-claws\plugins\pgpcore.dll"
   Delete "$INSTDIR\lib\sylpheed-claws\plugins\pgpinline.dll"
   Delete "$INSTDIR\lib\sylpheed-claws\plugins\pgpinline.deps"