bareos: master ccd23ece

Author Committer Branch Timestamp Parent
pstorz pstorz master 2020-07-10 13:58 master 783481b2 Pending
Changeset cmake: fixed "make install" and added "make uninstall"

The "make install" target created by cmake was not completely working.
Also, "make uninstall" was not available.

This patch fixes the problems with the "make install" target and added
the "make uninstall" target by reading the installed files from the
cmake manifest file and deleting them.

The code for the uninstall target was taken from:
https://gist.github.com/royvandam/3033428
mod - CMakeLists.txt Diff File
add - cmake/uninstall.cmake Diff File
mod - core/CMakeLists.txt Diff File
mod - core/cmake/BareosSetVariableDefaults.cmake Diff File
mod - core/debian/rules Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.storage Diff File
mod - core/platforms/packaging/bareos.spec Diff File
mod - core/src/defaultconfigs/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
mod - core/src/defaultconfigs/bareos-dir.d/fileset/Catalog.conf.in Diff File
mod - core/src/defaultconfigs/bareos-dir.d/fileset/LinuxAll.conf.in Diff File
mod - core/src/stored/CMakeLists.txt Diff File
mod - docs/manuals/CMakeLists.txt Diff File
mod - webui/CMakeLists.txt Diff File