From c4c1811b87df1006df28d8f98ea9699cf5c6a7a8 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 21 Jan 2010 17:34:36 +0100 Subject: [PATCH] Fix installer to install new pdf docs --- bacula/src/win32/win32_installer/Makefile | 9 +++++---- .../src/win32/win32_installer/winbacula.nsi | 20 +++++++++++++------ 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/bacula/src/win32/win32_installer/Makefile b/bacula/src/win32/win32_installer/Makefile index 703b80d27e..d79427adce 100644 --- a/bacula/src/win32/win32_installer/Makefile +++ b/bacula/src/win32/win32_installer/Makefile @@ -115,10 +115,11 @@ SSL_FILES := \ openssl.cnf DOC_FILES := \ - manual/bacula.pdf \ - manual/bacula/*.html \ - manual/bacula/*.png \ - manual/bacula/*.css + docs/manuals/en/console/console.pdf \ + docs/manuals/en/main/main.pdf \ + docs/manuals/en/misc/misc.pdf \ + docs/manuals/en/problems/problems.pdf \ + docs/manuals/en/utility/utility.pdf ########################################################################## diff --git a/bacula/src/win32/win32_installer/winbacula.nsi b/bacula/src/win32/win32_installer/winbacula.nsi index 075f8b3526..700dff6316 100644 --- a/bacula/src/win32/win32_installer/winbacula.nsi +++ b/bacula/src/win32/win32_installer/winbacula.nsi @@ -860,8 +860,16 @@ Section "Documentation (Acrobat Format)" SecDocPdf SetOutPath "$INSTDIR\doc" CreateDirectory "$INSTDIR\doc" - File "${SRC_DIR}\manual\bacula.pdf" - CreateShortCut "$SMPROGRAMS\Bacula\Documentation\Manual.lnk" '"$INSTDIR\doc\bacula.pdf"' + File "${SRC_DIR}\docs\manuals\en\console\console.pdf" + File "${SRC_DIR}\docs\manuals\en\misc\misc.pdf" + File "${SRC_DIR}\docs\manuals\en\main\main.pdf" + File "${SRC_DIR}\docs\manuals\en\utility\utility.pdf" + File "${SRC_DIR}\docs\manuals\en\problems\problems.pdf" + CreateShortCut "$SMPROGRAMS\Bacula\Documentation\Console.lnk" '"$INSTDIR\doc\console.pdf"' + CreateShortCut "$SMPROGRAMS\Bacula\Documentation\Main.lnk" '"$INSTDIR\doc\main.pdf"' + CreateShortCut "$SMPROGRAMS\Bacula\Documentation\Misc.lnk" '"$INSTDIR\doc\misc.pdf"' + CreateShortCut "$SMPROGRAMS\Bacula\Documentation\Utility.lnk" '"$INSTDIR\doc\utility.pdf"' + CreateShortCut "$SMPROGRAMS\Bacula\Documentation\Problems.lnk" '"$INSTDIR\doc\problems.pdf"' SectionEnd Section "Documentation (HTML Format)" SecDocHtml @@ -870,10 +878,10 @@ Section "Documentation (HTML Format)" SecDocHtml SetOutPath "$INSTDIR\doc" CreateDirectory "$INSTDIR\doc" - File "${SRC_DIR}\manual\bacula\*.html" - File "${SRC_DIR}\manual\bacula\*.png" - File "${SRC_DIR}\manual\bacula\*.css" - CreateShortCut "$SMPROGRAMS\Bacula\Documentation\Manual (HTML).lnk" '"$INSTDIR\doc\index.html"' +; File "${SRC_DIR}\manual\bacula\*.html" +; File "${SRC_DIR}\manual\bacula\*.png" +; File "${SRC_DIR}\manual\bacula\*.css" +; CreateShortCut "$SMPROGRAMS\Bacula\Documentation\Manual (HTML).lnk" '"$INSTDIR\doc\index.html"' SectionEnd SectionGroupEnd -- 2.39.5