Merged compendium_de and compendium_en to one nsis compendium section. Changed new...
authorEmanuel Schuetze <emanuel.schuetze@intevation.de>
Wed, 1 Sep 2010 15:46:23 +0000 (15:46 +0000)
committerEmanuel Schuetze <emanuel.schuetze@intevation.de>
Wed, 1 Sep 2010 15:46:23 +0000 (15:46 +0000)
ChangeLog
configure.ac
include/config.nsi.in
src/Makefile.am
src/inst-compendium.nsi [moved from src/inst-compendium_de.nsi with 53% similarity]
src/inst-compendium_en.nsi [deleted file]
src/inst-sections.nsi
src/installer-finish.nsi
src/uninst-compendium.nsi [moved from src/uninst-compendium_de.nsi with 64% similarity]
src/uninst-compendium_en.nsi [deleted file]

index fd4d3e0..dd62418 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-01  Emanuel Schuetze <emanuel@intevation.de>
+       * configure.ac, include/config.nsi.in, src/Makefile.am, 
+       src/inst-sections.nsi, src/installer-finish.nsi,
+       src/uninst-compendium.nsi, src/uninst-compendium_de.nsi, 
+       src/uninst-compendium_en.nsi, src/inst-compendium_de.nsi,
+       src/inst-compendium.nsi, src/inst-compendium_en.nsi:
+       Merged (un)inst-compendium_de and (un)inst-compendium_en 
+       to one nsis section (un)inst-compendium. 
+       Changed and install new compendium-html path.
+
+
 2010-08-31  Emanuel Schuetze <emanuel@intevation.de>
 
        * configure.ac: Updated compendium en version date.
index f07112f..1703c4f 100644 (file)
@@ -250,10 +250,7 @@ GPG4WIN_SPKG([rssyl], [curl claws-mail])
 GPG4WIN_SPKG([tnef_parse], [claws-mail])
 GPG4WIN_SPKG([attachwarner], [claws-mail])
 GPG4WIN_SPKG([bsfilter_plugin], [claws-mail])
-GPG4WIN_IPKG([compendium_de])
-GPG4WIN_IPKG([compendium_en])
-#GPG4WIN_IPKG([man_novice_en])
-#GPG4WIN_IPKG([man_advanced_en])
+GPG4WIN_IPKG([compendium])
 
 # Qt related stuff.
 GPG4WIN_BPKG_GNUWIN32([kdesupport])
index d16a0e9..f0594aa 100644 (file)
 !define gpg4win_pkg_paperkey_version @gpg4win_pkg_paperkey_version@
 
 # Internal packages.
-@HAVE_PKG_COMPENDIUM_DE@
-@HAVE_PKG_COMPENDIUM_EN@
+@HAVE_PKG_COMPENDIUM@
 
 # @HAVE_PKG_MAN_NOVICE_EN@
 
index 2ce6921..f2d0814 100644 (file)
@@ -62,8 +62,7 @@ EXTRA_DIST = pkg-config gpg4win.nsi gpg4win-src.nsi config.site \
         inst-libksba.nsi          uninst-libksba.nsi         \
         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-compendium.nsi       uninst-compendium.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   \
@@ -438,7 +437,7 @@ endef
 # 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_en
+               compendium
 
 
 # Now do the bunch of the work.  This is a bunch of dirty magic to
similarity index 53%
rename from src/inst-compendium_de.nsi
rename to src/inst-compendium.nsi
index 08a3604..d6d7583 100644 (file)
@@ -1,4 +1,4 @@
-# inst-compendium_de.nsi - Installer snippet       -*- coding: latin-1; -*-
+# inst-compendium.nsi - Installer snippet       -*- coding: latin-1; -*-
 # Copyright (C) 2008 g10 Code GmbH
 # 
 # This file is part of Gpg4win.
 !endif
 
 
-${MementoSection} "$(DESC_Name_compendium_de)" SEC_compendium_de
+${MementoSection} "$(DESC_Name_compendium)" SEC_compendium
   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-de.pdf"
-  SetOutPath "$INSTDIR\share\gpg4win\html-de"
-  File "${BUILD_DIR}/../doc/manual/gpg4win-compendium-de.html.d/*"
+  File "${BUILD_DIR}/../doc/manual/gpg4win-compendium-*.pdf"
+  SetOutPath "$INSTDIR\share\gpg4win\compendium-html"
+  SetOutPath "$INSTDIR\share\gpg4win\compendium-html\images-hyperlatex"
+  File "${BUILD_DIR}/../doc/manual/compendium-html/images-hyperlatex/*"
+  SetOutPath "$INSTDIR\share\gpg4win\compendium-html\images-compendium"
+  File "${BUILD_DIR}/../doc/manual/compendium-html/images-compendium/*"
+  SetOutPath "$INSTDIR\share\gpg4win\compendium-html\de"
+  File "${BUILD_DIR}/../doc/manual/compendium-html/de/*"
+  SetOutPath "$INSTDIR\share\gpg4win\compendium-html\en"
+  File "${BUILD_DIR}/../doc/manual/compendium-html/en/*"
 !endif
 ${MementoSectionEnd}
 
 
-# The name of the link.
-LangString DESC_Name_compendium_de ${LANG_ENGLISH} \
-   "Gpg4win Compendium DE"
+# The name of the installer component.
+LangString DESC_Name_compendium ${LANG_ENGLISH} \
+   "Gpg4win Compendium"
+# The description text used in the installer components dialog.
+LangString DESC_SEC_compendium ${LANG_ENGLISH} \
+   "The Gpg4win documentation (English and German)"
 
 # The name of the PDF version of the link
 LangString DESC_Name_compendium_de_pdf ${LANG_ENGLISH} \
    "Gpg4win Compendium (pdf, German)"
+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_de_html ${LANG_ENGLISH} \
    "Gpg4win Compendium (html, German)"
-
-# The description text used in the installer components dialog.
-LangString DESC_SEC_compendium_de ${LANG_ENGLISH} \
-   "Gpg4win Compendium (German)"
+LangString DESC_Name_compendium_en_html ${LANG_ENGLISH} \
+   "Gpg4win Compendium (html, English)"
 
 # The string displayed in the startmenu for the PDF version.
 LangString DESC_Menu_compendium_de_pdf ${LANG_ENGLISH} \
    "Show the Gpg4win Compendium (pdf, German)"
+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_de_html ${LANG_ENGLISH} \
    "Show the Gpg4win Compendium (html, German)"
-
+LangString DESC_Menu_compendium_en_html ${LANG_ENGLISH} \
+   "Show the Gpg4win Compendium (html, English)"
diff --git a/src/inst-compendium_en.nsi b/src/inst-compendium_en.nsi
deleted file mode 100644 (file)
index d1e9aea..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-# 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)"
-
index 28cb49a..a68ba5e 100644 (file)
 !ifdef HAVE_PKG_BSFILTER_PLUGIN
 !include "inst-bsfilter_plugin.nsi"
 !endif
-!ifdef HAVE_PKG_COMPENDIUM_DE
-!include "inst-compendium_de.nsi"
-!endif
-!ifdef HAVE_PKG_COMPENDIUM_EN
-!include "inst-compendium_en.nsi"
+!ifdef HAVE_PKG_COMPENDIUM
+!include "inst-compendium.nsi"
 !endif
 !ifdef HAVE_PKG_MAN_NOVICE_EN
 !include "inst-man_novice_en.nsi"
 !ifdef HAVE_PKG_MAN_NOVICE_EN
 !include "uninst-man_novice_en.nsi"
 !endif
-!ifdef HAVE_PKG_COMPENDIUM_DE
-!include "uninst-compendium_de.nsi"
-!endif
-!ifdef HAVE_PKG_COMPENDIUM_EN
-!include "uninst-compendium_en.nsi"
+!ifdef HAVE_PKG_COMPENDIUM
+!include "uninst-compendium.nsi"
 !endif
 !ifdef HAVE_PKG_CLAWS_MAIL
 !include "uninst-claws-mail.nsi"
@@ -503,27 +497,17 @@ calc_defaults_gpa_done:
 calc_defaults_claws_mail_done:
 !endif
 
-!ifdef HAVE_PKG_COMPENDIUM_DE
-  g4wihelp::config_fetch_bool "inst_compendium_de"
-  StrCmp $R0 "1" 0 calc_defaults_compendium_de_not_one
-   !insertmacro SelectSection ${SEC_compendium_de}
-   Goto calc_defaults_compendium_de_done
-  calc_defaults_compendium_de_not_one:
-  StrCmp $R0 "0" 0 calc_defaults_compendium_de_done
-   !insertmacro UnselectSection ${SEC_compendium_de}
-calc_defaults_compendium_de_done:
+!ifdef HAVE_PKG_COMPENDIUM
+  g4wihelp::config_fetch_bool "inst_compendium"
+  StrCmp $R0 "1" 0 calc_defaults_compendium_not_one
+   !insertmacro SelectSection ${SEC_compendium}
+   Goto calc_defaults_compendium_done
+  calc_defaults_compendium_not_one:
+  StrCmp $R0 "0" 0 calc_defaults_compendium_done
+   !insertmacro UnselectSection ${SEC_compendium}
+calc_defaults_compendium_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"
@@ -1192,11 +1176,8 @@ FunctionEnd
 !ifdef HAVE_PKG_MAN_ADVANCED_EN
   !insertmacro MUI_DESCRIPTION_TEXT ${SEC_man_advanced_en} $(DESC_SEC_man_advanced_en)
 !endif
-!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)
+!ifdef HAVE_PKG_COMPENDIUM
+  !insertmacro MUI_DESCRIPTION_TEXT ${SEC_compendium} $(DESC_SEC_compendium)
 !endif
 !ifdef HAVE_PKG_MAN_NOVICE_DE
   !insertmacro MUI_DESCRIPTION_TEXT ${SEC_man_novice_de} $(DESC_SEC_man_novice_de)
@@ -1291,34 +1272,27 @@ Section "-startmenu"
   no_man_advanced_en_menu:
 !endif
 
-!ifdef HAVE_PKG_COMPENDIUM_DE
-    SectionGetFlags ${SEC_compendium_de} $R0 
+!ifdef HAVE_PKG_COMPENDIUM
+    SectionGetFlags ${SEC_compendium} $R0 
     IntOp $R0 $R0 & ${SF_SELECTED} 
-    IntCmp $R0 ${SF_SELECTED} 0 no_compendium_de_menu 
+    IntCmp $R0 ${SF_SELECTED} 0 no_compendium_menu 
     CreateShortCut \
         "$SMPROGRAMS\$STARTMENU_FOLDER\$(DESC_Menu_manuals)\$(DESC_Name_compendium_de_html).lnk" \
-       "$INSTDIR\share\gpg4win\html-de\gpg4win-compendium-de.html" \
+       "$INSTDIR\share\gpg4win\compendium-html\de\gpg4win-compendium.html" \
         "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_de_html)
     CreateShortCut \
         "$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_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" \
+       "$INSTDIR\share\gpg4win\compendium-html\en\gpg4win-compendium.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:
+  no_compendium_menu:
 !endif
 
 !ifdef HAVE_PKG_MAN_NOVICE_DE
@@ -1460,34 +1434,27 @@ Section "-startmenu"
   no_man_advanced_en_desktop:
 !endif
 
-!ifdef HAVE_PKG_COMPENDIUM_DE
-    SectionGetFlags ${SEC_compendium_de} $R0 
+!ifdef HAVE_PKG_COMPENDIUM
+    SectionGetFlags ${SEC_compendium} $R0 
     IntOp $R0 $R0 & ${SF_SELECTED} 
-    IntCmp $R0 ${SF_SELECTED} 0 no_compendium_de_desktop
+    IntCmp $R0 ${SF_SELECTED} 0 no_compendium_desktop
     CreateShortCut \
         "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de_html).lnk" \
-       "$INSTDIR\share\gpg4win\html-de\gpg4win-compendium-de.html" \
+       "$INSTDIR\share\gpg4win\compendium-html\de\gpg4win-compendium.html" \
         "" "" "" SW_SHOWNORMAL "" $(DESC_Menu_compendium_de_html)
     CreateShortCut \
         "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de_pdf).lnk" \
        "$INSTDIR\share\gpg4win\gpg4win-compendium-de.pdf" \
         "" "" "" 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" \
+       "$INSTDIR\share\gpg4win\compendium-html\en\gpg4win-compendium.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:
+  no_compendium_desktop:
 !endif
 
 !ifdef HAVE_PKG_MAN_NOVICE_DE
@@ -1534,8 +1501,8 @@ no_desktop:
   # We better delete also the name we used prior to 1.0.3
   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_compendium).lnk"
+  Delete "$QUICKLAUNCH\$(DESC_Name_compendium).lnk"
   Delete "$QUICKLAUNCH\$(DESC_Name_man_novice_de).lnk"
   Delete "$QUICKLAUNCH\$(DESC_Name_man_advanced_de).lnk"
   Delete "$QUICKLAUNCH\GPGee Manual.lnk"
index 2767880..8b60ef0 100644 (file)
@@ -109,11 +109,9 @@ Section Uninstall
   Delete "$DESKTOP\Claws-Mail.lnk"
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\Claws-Mail Manual.lnk"
 !endif
-!ifdef HAVE_PKG_COMPENDIUM_DE
+!ifdef HAVE_PKG_COMPENDIUM
   Delete "$DESKTOP\$(DESC_Desktop_manuals)\$(DESC_Name_compendium_de_html).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
@@ -152,10 +150,8 @@ Section Uninstall
 !ifdef HAVE_PKG_CLAWS_MAIL
   Delete "$QUICKLAUNCH\Claws-Mail.lnk"
 !endif
-!ifdef HAVE_PKG_COMPENDIUM_DE
+!ifdef HAVE_PKG_COMPENDIUM
   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
similarity index 64%
rename from src/uninst-compendium_de.nsi
rename to src/uninst-compendium.nsi
index 8ac32d0..f668988 100644 (file)
@@ -1,4 +1,4 @@
-# uninst-compendium_de.nsi - Installer snippet.     -*- coding: latin-1; -*-
+# uninst-compendium.nsi - Installer snippet.     -*- coding: latin-1; -*-
 # Copyright (C) 2008 g10 Code GmbH
 # 
 # This file is part of Gpg4win.
 !endif
 
 ; Uninstaller section.
-Section "-un.compendium_de"
+Section "-un.compendium"
 !ifdef SOURCES
-  #Push "${gpg4win_pkg_compendium_de}"
+  #Push "${gpg4win_pkg_compendium}"
   #Call un.SourceDelete
 !else
 
-  Delete "$INSTDIR\share\gpg4win\html-de\*"
-  RMDir "$INSTDIR\share\gpg4win\html-de"
-  Delete "$INSTDIR\share\gpg4win\gpg4win-compendium-de.pdf"
+  Delete "$INSTDIR\share\gpg4win\compendium-html\images-hyperlatex\*"
+  Delete "$INSTDIR\share\gpg4win\compendium-html\images-compendium\*"
+  Delete "$INSTDIR\share\gpg4win\compendium-html\de\*"
+  Delete "$INSTDIR\share\gpg4win\compendium-html\en\*"
+  RMDir "$INSTDIR\share\gpg4win\compendium-html"
+  Delete "$INSTDIR\share\gpg4win\gpg4win-compendium-*.pdf"
   RMDir "$INSTDIR\share\gpg4win"
   RMDir "$INSTDIR\share"
   RMDir "$INSTDIR"
diff --git a/src/uninst-compendium_en.nsi b/src/uninst-compendium_en.nsi
deleted file mode 100644 (file)
index eb828b7..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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