Skip to content

Commit

Permalink
debian: use relative path to PROJECT_SOURCE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jul 16, 2020
1 parent 1814f19 commit 695c62e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions core/cmake/BareosGenerateDebianInfo.cmake
Expand Up @@ -20,34 +20,34 @@
if(GENERATE_DEBIAN_CONTROL)

if(HAVE_TRAYMONITOR)
file(READ ./debian/control.bareos-traymonitor DEBIAN_CONTROL_TRAYMONITOR)
file(READ ${PROJECT_SOURCE_DIR}/debian/control.bareos-traymonitor DEBIAN_CONTROL_TRAYMONITOR)
endif()

if(HAVE_GLUSTERFS)
file(READ ./debian/control.bareos-filedaemon-glusterfs-plugin
file(READ ${PROJECT_SOURCE_DIR}/debian/control.bareos-filedaemon-glusterfs-plugin
DEBIAN_CONTROL_FILEDAEMON_GLUSTERFS_PLUGIN)
file(READ ./debian/control.bareos-storage-glusterfs
file(READ ${PROJECT_SOURCE_DIR}/debian/control.bareos-storage-glusterfs
DEBIAN_CONTROL_STORAGE_GLUSTERFS)
endif()

if(HAVE_CEPHFS)
file(READ ./debian/control.bareos-filedaemon-ceph-plugin
file(READ ${PROJECT_SOURCE_DIR}/debian/control.bareos-filedaemon-ceph-plugin
DEBIAN_CONTROL_FILEDAEMON_CEPH_PLUGIN)
file(READ ./debian/control.bareos-storage-ceph DEBIAN_CONTROL_STORAGE_CEPH)
file(READ ${PROJECT_SOURCE_DIR}/debian/control.bareos-storage-ceph DEBIAN_CONTROL_STORAGE_CEPH)
endif()

if(HAVE_PYTHON)
file(READ ./debian/control.bareos-filedaemon-python-plugin
file(READ ${PROJECT_SOURCE_DIR}/debian/control.bareos-filedaemon-python-plugin
DEBIAN_CONTROL_FILEDAEMON_PYTHON_PLUGIN)
file(READ ./debian/control.bareos-storage-python-plugin
file(READ ${PROJECT_SOURCE_DIR}/debian/control.bareos-storage-python-plugin
DEBIAN_CONTROL_STORAGE_PYTHON_PLUGIN)
file(READ ./debian/control.bareos-director-python-plugin
file(READ ${PROJECT_SOURCE_DIR}/debian/control.bareos-director-python-plugin
DEBIAN_CONTROL_DIRECTOR_PYTHON_PLUGIN)
endif()

if(${PLATFORM} MATCHES "univention")
# only required for univention
file(READ ./debian/control.univention-bareos
file(READ ${PROJECT_SOURCE_DIR}/debian/control.univention-bareos
DEBIAN_CONTROL_UNIVENTION_BAREOS)
endif()

Expand Down

0 comments on commit 695c62e

Please sign in to comment.