[Gpg4win-commits] r1514 - in trunk: . include po src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Aug 26 14:04:41 CEST 2010


Author: emanuel
Date: 2010-08-26 14:04:40 +0200 (Thu, 26 Aug 2010)
New Revision: 1514

Added:
   trunk/src/inst-compendium_en.nsi
   trunk/src/uninst-compendium_en.nsi
Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/include/config.nsi.in
   trunk/po/de.po
   trunk/src/Makefile.am
   trunk/src/inst-compendium_de.nsi
   trunk/src/inst-sections.nsi
   trunk/src/installer-finish.nsi
Log:
Installed new compendium-en.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/ChangeLog	2010-08-26 12:04:40 UTC (rev 1514)
@@ -1,3 +1,10 @@
+2010-08-26  Emanuel Schuetze <emanuel at intevation.de>
+
+	* configure.ac, include/config.nsi.in, src/Makefile.am,
+	src/uninst-compendium_en.nsi, src/inst-sections.nsi,
+	src/inst-compendium_de.nsi, src/inst-compendium_en.nsi,
+	src/installer-finish.nsi, po/de.po: Install new compendium-en.
+
 2010-08-25  Emanuel Schuetze <emanuel at intevation.de>
 
 	* configure.ac: Change date and version of compendium-en.

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/configure.ac	2010-08-26 12:04:40 UTC (rev 1514)
@@ -251,7 +251,8 @@
 GPG4WIN_SPKG([attachwarner], [claws-mail])
 GPG4WIN_SPKG([bsfilter_plugin], [claws-mail])
 GPG4WIN_IPKG([compendium_de])
-GPG4WIN_IPKG([man_novice_en])
+GPG4WIN_IPKG([compendium_en])
+#GPG4WIN_IPKG([man_novice_en])
 #GPG4WIN_IPKG([man_advanced_en])
 
 # Qt related stuff.

Modified: trunk/include/config.nsi.in
===================================================================
--- trunk/include/config.nsi.in	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/include/config.nsi.in	2010-08-26 12:04:40 UTC (rev 1514)
@@ -291,7 +291,8 @@
 
 # Internal packages.
 @HAVE_PKG_COMPENDIUM_DE@
+ at HAVE_PKG_COMPENDIUM_EN@
 
- at HAVE_PKG_MAN_NOVICE_EN@
+# @HAVE_PKG_MAN_NOVICE_EN@
 
 # @HAVE_PKG_MAN_ADVANCED_EN@

Modified: trunk/po/de.po
===================================================================
--- trunk/po/de.po	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/po/de.po	2010-08-26 12:04:40 UTC (rev 1514)
@@ -554,29 +554,64 @@
 
 #: src/inst-compendium_de.nsi:40
 msgctxt "DESC_Name_compendium_de"
-msgid "Gpg4win Kompendium (pdf, German)"
+msgid "Gpg4win Compendium DE"
+msgstr "Gpg4win-Kompendium DE"
+
+#: src/inst-compendium_de.nsi:44
+msgctxt "DESC_Name_compendium_de_pdf"
+msgid "Gpg4win Compendium (pdf, German)"
 msgstr "Gpg4win-Kompendium (pdf, deutsch)"
 
-#: src/inst-compendium_de.nsi:44
+#: src/inst-compendium_de.nsi:48
 msgctxt "DESC_Name_compendium_de_html"
-msgid "Gpg4win Kompendium (html, German)"
+msgid "Gpg4win Compendium (html, German)"
 msgstr "Gpg4win-Kompendium (html, deutsch)"
 
-#: src/inst-compendium_de.nsi:48
+#: src/inst-compendium_de.nsi:52
 msgctxt "DESC_SEC_compendium_de"
-msgid "Gpg4win compendium (German)"
+msgid "Gpg4win Compendium (German)"
 msgstr "Gpg4win-Kompendium (deutsch)"
 
-#: src/inst-compendium_de.nsi:52
-msgctxt "DESC_Menu_compendium_de"
-msgid "Show the Gpg4win compendium (pdf, German)"
+#: src/inst-compendium_de.nsi:56
+msgctxt "DESC_Menu_compendium_de_pdf"
+msgid "Show the Gpg4win Compendium (pdf, German)"
 msgstr "Gpg4win-Kompendium (pdf, deutsch)"
 
-#: src/inst-compendium_de.nsi:56
+#: src/inst-compendium_de.nsi:60
 msgctxt "DESC_Menu_compendium_de_html"
 msgid "Show the Gpg4win compendium (html, German)"
 msgstr "Gpg4win-Kompendium (html, deutsch)"
 
+#: src/inst-compendium_en.nsi:40
+msgctxt "DESC_Name_compendium_en"
+msgid "Gpg4win Compendium EN"
+msgstr "Gpg4win-Kompendium EN"
+
+#: src/inst-compendium_en.nsi:44
+msgctxt "DESC_Name_compendium_en_pdf"
+msgid "Gpg4win Compendium (pdf, English)"
+msgstr "Gpg4win-Kompendium (pdf, english)"
+
+#: src/inst-compendium_en.nsi:48
+msgctxt "DESC_Name_compendium_en_html"
+msgid "Gpg4win Compendium (html, English)"
+msgstr "Gpg4win-Kompendium (html, englisch)"
+
+#: src/inst-compendium_en.nsi:52
+msgctxt "DESC_SEC_compendium_en"
+msgid "Gpg4win Compendium (English)"
+msgstr "Gpg4win-Kompendium (englisch)"
+
+#: src/inst-compendium_en.nsi:56
+msgctxt "DESC_Menu_compendium_en_pdf"
+msgid "Show the Gpg4win Compendium (pdf, English)"
+msgstr "Gpg4win-Kompendium (pdf, englisch)"
+
+#: src/inst-compendium_en.nsi:60
+msgctxt "DESC_Menu_compendium_en_html"
+msgid "Show the Gpg4win compendium (html, English)"
+msgstr "Gpg4win-Kompendium (html, englisch)"
+
 #: src/inst-winpt.nsi:46
 msgctxt "DESC_SEC_winpt"
 msgid "Windows Privacy Tray"

Modified: trunk/src/Makefile.am
===================================================================
--- trunk/src/Makefile.am	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/src/Makefile.am	2010-08-26 12:04:40 UTC (rev 1514)
@@ -63,6 +63,7 @@
         inst-adns.nsi	           uninst-adns.nsi	      \
         inst-libpng.nsi		   uninst-libpng.nsi	      \
         inst-compendium_de.nsi	   uninst-compendium_de.nsi   \
+        inst-compendium_en.nsi	   uninst-compendium_en.nsi   \
         inst-man_advanced_de.nsi   uninst-man_advanced_de.nsi \
         inst-man_advanced_en.nsi   uninst-man_advanced_en.nsi \
         inst-man_novice_de.nsi	   uninst-man_novice_de.nsi   \
@@ -437,7 +438,7 @@
 # special support.  Thus, this variable is actually unused, and no
 # rules are added in gpg4win.mk.
 gpg4win_ipkgs = man_novice_de man_advanced_de man_novice_en man_advanced_en \
-		compendium_de
+		compendium_de compendium_en
 
 
 # Now do the bunch of the work.  This is a bunch of dirty magic to

Modified: trunk/src/inst-compendium_de.nsi
===================================================================
--- trunk/src/inst-compendium_de.nsi	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/src/inst-compendium_de.nsi	2010-08-26 12:04:40 UTC (rev 1514)
@@ -38,21 +38,25 @@
 
 # The name of the link.
 LangString DESC_Name_compendium_de ${LANG_ENGLISH} \
-   "Gpg4win Kompendium (pdf, German)"
+   "Gpg4win Compendium DE"
 
+# The name of the PDF version of the link
+LangString DESC_Name_compendium_de_pdf ${LANG_ENGLISH} \
+   "Gpg4win Compendium (pdf, German)"
+
 # The name of the HTML version of the link
 LangString DESC_Name_compendium_de_html ${LANG_ENGLISH} \
-   "Gpg4win Kompendium (html, German)"
+   "Gpg4win Compendium (html, German)"
 
-# The text used in the installer selection dialog.
+# The description text used in the installer components dialog.
 LangString DESC_SEC_compendium_de ${LANG_ENGLISH} \
-   "Gpg4win compendium (German)"
+   "Gpg4win Compendium (German)"
 
 # The string displayed in the startmenu for the PDF version.
-LangString DESC_Menu_compendium_de ${LANG_ENGLISH} \
-   "Show the Gpg4win compendium (pdf, German)"
+LangString DESC_Menu_compendium_de_pdf ${LANG_ENGLISH} \
+   "Show the Gpg4win Compendium (pdf, German)"
 
 # The string displayed in the startmenu for the HTML version.
 LangString DESC_Menu_compendium_de_html ${LANG_ENGLISH} \
-   "Show the Gpg4win compendium (html, German)"
+   "Show the Gpg4win Compendium (html, German)"
 

Added: trunk/src/inst-compendium_en.nsi
===================================================================
--- trunk/src/inst-compendium_en.nsi	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/src/inst-compendium_en.nsi	2010-08-26 12:04:40 UTC (rev 1514)
@@ -0,0 +1,62 @@
+# inst-compendium_en.nsi - Installer snippet       -*- coding: latin-1; -*-
+# Copyright (C) 2010 Intevation GmbH
+# 
+# This file is part of Gpg4win.
+# 
+# Gpg4win is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# Gpg4win is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+
+!ifdef prefix
+!undef prefix
+!endif
+
+
+${MementoSection} "$(DESC_Name_compendium_en)" SEC_compendium_en
+  SetOutPath "$INSTDIR"
+!ifdef SOURCES
+  # No need to include anything as the manuals are part of gpg4win
+!else
+
+  SetOutPath "$INSTDIR\share\gpg4win"
+  File "${BUILD_DIR}/../doc/manual/gpg4win-compendium-en.pdf"
+  SetOutPath "$INSTDIR\share\gpg4win\html-en"
+  File "${BUILD_DIR}/../doc/manual/gpg4win-compendium-en.html.d/*"
+!endif
+${MementoSectionEnd}
+
+
+# The name of the link.
+LangString DESC_Name_compendium_en ${LANG_ENGLISH} \
+   "Gpg4win Compendium EN"
+
+# The name of the PDF version of the link
+LangString DESC_Name_compendium_en_pdf ${LANG_ENGLISH} \
+   "Gpg4win Compendium (pdf, English)"
+
+# The name of the HTML version of the link
+LangString DESC_Name_compendium_en_html ${LANG_ENGLISH} \
+   "Gpg4win Compendium (html, English)"
+
+# The description text used in the installer components dialog.
+LangString DESC_SEC_compendium_en ${LANG_ENGLISH} \
+   "Gpg4win Compendium (English)"
+
+# The string displayed in the startmenu for the PDF version.
+LangString DESC_Menu_compendium_en_pdf ${LANG_ENGLISH} \
+   "Show the Gpg4win Compendium (pdf, English)"
+
+# The string displayed in the startmenu for the HTML version.
+LangString DESC_Menu_compendium_en_html ${LANG_ENGLISH} \
+   "Show the Gpg4win Compendium (html, English)"
+

Modified: trunk/src/inst-sections.nsi
===================================================================
--- trunk/src/inst-sections.nsi	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/src/inst-sections.nsi	2010-08-26 12:04:40 UTC (rev 1514)
@@ -188,6 +188,9 @@
 !ifdef HAVE_PKG_COMPENDIUM_DE
 !include "inst-compendium_de.nsi"
 !endif
+!ifdef HAVE_PKG_COMPENDIUM_EN
+!include "inst-compendium_en.nsi"
+!endif
 !ifdef HAVE_PKG_MAN_NOVICE_EN
 !include "inst-man_novice_en.nsi"
 !endif
@@ -220,6 +223,9 @@
 !ifdef HAVE_PKG_COMPENDIUM_DE
 !include "uninst-compendium_de.nsi"
 !endif
+!ifdef HAVE_PKG_COMPENDIUM_EN
+!include "uninst-compendium_en.nsi"
+!endif
 !ifdef HAVE_PKG_CLAWS_MAIL
 !include "uninst-claws-mail.nsi"
 !endif
@@ -508,6 +514,17 @@
 calc_defaults_compendium_de_done:
 !endif
 
+!ifdef HAVE_PKG_COMPENDIUM_EN
+  g4wihelp::config_fetch_bool "inst_compendium_en"
+  StrCmp $R0 "1" 0 calc_defaults_compendium_en_not_one
+   !insertmacro SelectSection ${SEC_compendium_en}
+   Goto calc_defaults_compendium_en_done
+  calc_defaults_compendium_en_not_one:
+  StrCmp $R0 "0" 0 calc_defaults_compendium_en_done
+   !insertmacro UnselectSection ${SEC_compendium_en}
+calc_defaults_compendium_en_done:
+!endif
+
 !ifdef HAVE_PKG_MAN_NOVICE_DE
   g4wihelp::config_fetch_bool "inst_man_novice_de"
   StrCmp $R0 "1" 0 calc_defaults_man_novice_de_not_one
@@ -1178,6 +1195,9 @@
 !ifdef HAVE_PKG_COMPENDIUM_DE
   !insertmacro MUI_DESCRIPTION_TEXT ${SEC_compendium_de} $(DESC_SEC_compendium_de)
 !endif
+!ifdef HAVE_PKG_COMPENDIUM_EN
+  !insertmacro MUI_DESCRIPTION_TEXT ${SEC_compendium_en} $(DESC_SEC_compendium_en)
+!endif
 !ifdef HAVE_PKG_MAN_NOVICE_DE
   !insertmacro MUI_DESCRIPTION_TEXT ${SEC_man_novice_de} $(DESC_SEC_man_novice_de)
 !endif
@@ -1280,12 +1300,27 @@
 	"$INSTDIR\share\gpg4win\html-de\gpg4win-compendium-de.html" \
         "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_de_html)
     CreateShortCut \
-        "$SMPROGRAMS\$STARTMENU_FOLDER\$(DESC_Menu_manuals)\$(DESC_Name_compendium_de).lnk" \
+        "$SMPROGRAMS\$STARTMENU_FOLDER\$(DESC_Menu_manuals)\$(DESC_Name_compendium_de_pdf).lnk" \
 	"$INSTDIR\share\gpg4win\gpg4win-compendium-de.pdf" \
-        "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_de)
+        "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_de_pdf)
   no_compendium_de_menu:
 !endif
 
+!ifdef HAVE_PKG_COMPENDIUM_EN
+    SectionGetFlags ${SEC_compendium_en} $R0 
+    IntOp $R0 $R0 & ${SF_SELECTED} 
+    IntCmp $R0 ${SF_SELECTED} 0 no_compendium_en_menu 
+    CreateShortCut \
+        "$SMPROGRAMS\$STARTMENU_FOLDER\$(DESC_Menu_manuals)\$(DESC_Name_compendium_en_html).lnk" \
+	"$INSTDIR\share\gpg4win\html-en\gpg4win-compendium-en.html" \
+        "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_en_html)
+    CreateShortCut \
+        "$SMPROGRAMS\$STARTMENU_FOLDER\$(DESC_Menu_manuals)\$(DESC_Name_compendium_en_pdf).lnk" \
+	"$INSTDIR\share\gpg4win\gpg4win-compendium-en.pdf" \
+        "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_en_pdf)
+  no_compendium_en_menu:
+!endif
+
 !ifdef HAVE_PKG_MAN_NOVICE_DE
     SectionGetFlags ${SEC_man_novice_de} $R0 
     IntOp $R0 $R0 & ${SF_SELECTED} 
@@ -1343,8 +1378,10 @@
   Delete "$DESKTOP\Sylpheed.lnk"
   Delete "$DESKTOP\Claws-Mail.lnk"
   Delete "$DESKTOP\Claws-Mail Manual.lnk"
-  Delete "$DESKTOP\$(DESC_Name_compendium_de).lnk"
+  Delete "$DESKTOP\$(DESC_Name_compendium_de_pdf).lnk"
   Delete "$DESKTOP\$(DESC_Name_compendium_de_html).lnk"
+  Delete "$DESKTOP\$(DESC_Name_compendium_en_pdf).lnk"
+  Delete "$DESKTOP\$(DESC_Name_compendium_en_html).lnk"
   Delete "$DESKTOP\$(DESC_Name_man_novice_de).lnk"
   Delete "$DESKTOP\$(DESC_Name_man_novice_en).lnk"
   Delete "$DESKTOP\$(DESC_Name_man_advanced_de).lnk"
@@ -1352,8 +1389,10 @@
   Delete "$DESKTOP\GnuPG FAQ.lnk"
   Delete "$DESKTOP\Gpg4Win README.lnk"
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\Claws-Mail Manual.lnk"
-  Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de).lnk"
+  Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de_pdf).lnk"
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de_html).lnk"
+  Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_en_pdf).lnk"
+  Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_en_html).lnk"
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_man_novice_de).lnk"
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_man_novice_en).lnk"
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_man_advanced_de).lnk"
@@ -1430,12 +1469,27 @@
 	"$INSTDIR\share\gpg4win\html-de\gpg4win-compendium-de.html" \
         "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_de_html)
     CreateShortCut \
-        "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de).lnk" \
+        "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de_pdf).lnk" \
 	"$INSTDIR\share\gpg4win\gpg4win-compendium-de.pdf" \
-        "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_de)
+        "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_de_pdf)
   no_compendium_de_desktop:
 !endif
 
+!ifdef HAVE_PKG_COMPENDIUM_EN
+    SectionGetFlags ${SEC_compendium_en} $R0 
+    IntOp $R0 $R0 & ${SF_SELECTED} 
+    IntCmp $R0 ${SF_SELECTED} 0 no_compendium_en_desktop
+    CreateShortCut \
+        "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_en_html).lnk" \
+	"$INSTDIR\share\gpg4win\html-en\gpg4win-compendium-en.html" \
+        "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_en_html)
+    CreateShortCut \
+        "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_en_pdf).lnk" \
+	"$INSTDIR\share\gpg4win\gpg4win-compendium-en.pdf" \
+        "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_en_pdf)
+  no_compendium_en_desktop:
+!endif
+
 !ifdef HAVE_PKG_MAN_NOVICE_DE
     SectionGetFlags ${SEC_man_novice_de} $R0 
     IntOp $R0 $R0 & ${SF_SELECTED} 
@@ -1481,6 +1535,7 @@
   Delete "$QUICKLAUNCH\Sylpheed.lnk"
   Delete "$QUICKLAUNCH\Claws-Mail.lnk"
   Delete "$QUICKLAUNCH\$(DESC_Name_compendium_de).lnk"
+  Delete "$QUICKLAUNCH\$(DESC_Name_compendium_en).lnk"
   Delete "$QUICKLAUNCH\$(DESC_Name_man_novice_de).lnk"
   Delete "$QUICKLAUNCH\$(DESC_Name_man_advanced_de).lnk"
   Delete "$QUICKLAUNCH\GPGee Manual.lnk"

Modified: trunk/src/installer-finish.nsi
===================================================================
--- trunk/src/installer-finish.nsi	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/src/installer-finish.nsi	2010-08-26 12:04:40 UTC (rev 1514)
@@ -111,8 +111,12 @@
 !endif
 !ifdef HAVE_PKG_COMPENDIUM_DE
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de_html).lnk"
-  Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de).lnk"
+  Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de_pdf).lnk"
 !endif
+!ifdef HAVE_PKG_COMPENDIUM_EN
+  Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_en_html).lnk"
+  Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_en_pdf).lnk"
+!endif
 !ifdef HAVE_PKG_MAN_NOVICE_DE
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_man_novice_de).lnk"
 !endif
@@ -151,6 +155,9 @@
 !ifdef HAVE_PKG_COMPENDIUM_DE
   Delete "$QUICKLAUNCH\$(DESC_Name_compendium_de).lnk"
 !endif
+!ifdef HAVE_PKG_COMPENDIUM_EN
+  Delete "$QUICKLAUNCH\$(DESC_Name_compendium_en).lnk"
+!endif
 !ifdef HAVE_PKG_MAN_NOVICE_DE
   Delete "$QUICKLAUNCH\$(DESC_Name_man_novice_de).lnk"
 !endif

Added: trunk/src/uninst-compendium_en.nsi
===================================================================
--- trunk/src/uninst-compendium_en.nsi	2010-08-26 10:45:26 UTC (rev 1513)
+++ trunk/src/uninst-compendium_en.nsi	2010-08-26 12:04:40 UTC (rev 1514)
@@ -0,0 +1,39 @@
+# uninst-compendium_en.nsi - Installer snippet.     -*- coding: latin-1; -*-
+# Copyright (C) 2010 Intevation GmbH
+# 
+# This file is part of Gpg4win.
+# 
+# Gpg4win is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# Gpg4win is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+
+!ifdef prefix
+!undef prefix
+!endif
+
+; Uninstaller section.
+Section "-un.compendium_en"
+!ifdef SOURCES
+  #Push "${gpg4win_pkg_compendium_en}"
+  #Call un.SourceDelete
+!else
+
+  Delete "$INSTDIR\share\gpg4win\html-en\*"
+  RMDir "$INSTDIR\share\gpg4win\html-en"
+  Delete "$INSTDIR\share\gpg4win\gpg4win-compendium-en.pdf"
+  RMDir "$INSTDIR\share\gpg4win"
+  RMDir "$INSTDIR\share"
+  RMDir "$INSTDIR"
+
+!endif
+SectionEnd



More information about the Gpg4win-commits mailing list