ifeq ($(win64),yes)
DIRS=$(WIN64_DIRS)
INSTALLER=win64_installer
- SPECIAL=bat64 bsmtp
+ SPECIAL=bat64 bsmtp tools
else
DIRS=$(WIN32_DIRS)
INSTALLER=win32_installer
- SPECIAL=bat32 bsmtp
+ SPECIAL=bat32 bsmtp tools
endif
ifeq ($(bat),no)
- SPECIAL=bsmtp
+ SPECIAL=bsmtp tools
endif
.PHONY: $(DIRS) clean all Makefile.inc win32_installer full_win32_installer \
- win64_installer bsmtp distclean
+ win64_installer bsmtp tools distclean
all: Makefile.inc $(DIRS) $(SPECIAL) $(INSTALLER)
fi ; \
fi
-
+tools:
+ @if test -f Makefile.inc; then \
+ if $(MAKE) -C tools all $(MAKECMDGOALS); then \
+ echo "\n===== Make of tools/all succeeded =====\n\n" ; \
+ else \
+ echo "\n!!!!! Make of tools/all failed !!!!!\n\n" ; exit 1; \
+ fi ; \
+ fi
Makefile.inc:
@echo Creating $@
Section "Documentation (Acrobat Format)" SecDocPdf
SectionIn 1 2 3
- SetOutPath "$INSTDIR\doc"
- CreateDirectory "$INSTDIR\doc"
-
- 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"'
+ SetOutPath "$INSTDIR\plugins"
+ File "${SRC_DIR}\cdp-fd.dll"
SetOutPath "$INSTDIR"
+ File "${SRC_DIR}\cdp-client.exe"
+
SectionEnd
;Section "Documentation (HTML Format)" SecDocHtml
LangString DESC_SecBatConsole ${LANG_ENGLISH} "Install Bat graphical console program on this system."
LangString DESC_SecTrayMonitor ${LANG_ENGLISH} "Install Tray Monitor graphical program on this system."
LangString DESC_SecAllDrivesPlugin ${LANG_ENGLISH} "Install alldrives Plugin on this system."
-; LangString DESC_SecWinBMRPlugin ${LANG_ENGLISH} "Install winbmr Plugin on this system."
-LangString DESC_SecOldExchangePlugin ${LANG_ENGLISH} "Install old (deprecated) Exchange Plugin on this system."
+LangString DESC_SecWinBMRPlugin ${LANG_ENGLISH} "Install winbmr Plugin on this system."
+LangString DESC_SecCDPPlugin ${LANG_ENGLISH} "Install CDP Plugin and CDP client on this system."
LangString TITLE_ConfigPage1 ${LANG_ENGLISH} "Configuration"
Delete /REBOOTOK "$INSTDIR\*.sql"
Delete /REBOOTOK "$INSTDIR\help\*"
Delete /REBOOTOK "$INSTDIR\plugins\alldrives-fd.dll"
- Delete /REBOOTOK "$INSTDIR\plugins\exchange-fd.dll"
-; Delete /REBOOTOK "$INSTDIR\plugins\winbmr-fd.dll"
+ Delete /REBOOTOK "$INSTDIR\plugins\cdp-fd.dll"
+ Delete /REBOOTOK "$INSTDIR\cdp-client.exe"
; Check for existing installation
IfSilent +2
SetOutPath "$INSTDIR\plugins"
File "${SRC_DIR}\exchange-fd.dll"
SetOutPath "$INSTDIR"
+ File "${SRC_DIR}\cdp-client.exe"
SectionEnd
LangString DESC_SecTrayMonitor ${LANG_ENGLISH} "Install Tray Monitor graphical program on this system."
LangString DESC_SecAllDrivesPlugin ${LANG_ENGLISH} "Install alldrives Plugin on this system."
LangString DESC_SecOldExchangePlugin ${LANG_ENGLISH} "Install old (deprecated) Exchange Plugin on this system."
+LangString DESC_SecCDPPlugin ${LANG_ENGLISH} "Install CDP Plugin and CDP client on this system."
LangString TITLE_ConfigPage1 ${LANG_ENGLISH} "Configuration"
LangString SUBTITLE_ConfigPage1 ${LANG_ENGLISH} "Set installation configuration."
!InsertMacro MUI_DESCRIPTION_TEXT ${SecTrayMonitor} $(DESC_SecTrayMonitor)
!InsertMacro MUI_DESCRIPTION_TEXT ${SecAllDrivesPlugin} $(DESC_SecAllDrivesPlugin)
!InsertMacro MUI_DESCRIPTION_TEXT ${SecOldExchangePlugin} $(DESC_SecOldExchangePlugin)
+ !InsertMacro MUI_DESCRIPTION_TEXT ${SecCDPPlugin} $(DESC_SecCDPPlugin)
!InsertMacro MUI_FUNCTION_DESCRIPTION_END
; Uninstall section
Delete /REBOOTOK "$INSTDIR\*.dll"
Delete /REBOOTOK "$INSTDIR\plugins\alldrives-fd.dll"
Delete /REBOOTOK "$INSTDIR\plugins\exchange-fd.dll"
+ Delete /REBOOTOK "$INSTDIR\plugins\cdp-fd.dll"
+ Delete /REBOOTOK "$INSTDIR\cdp-client.exe"
; Check for existing installation
MessageBox MB_YESNO|MB_ICONQUESTION \