Skip to content

Commit

Permalink
cmake: remove unused docdir option
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens authored and BareosBot committed Jan 30, 2024
1 parent 909e5fa commit 5f3a2af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions cmake/BareosSetVariableDefaults.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ if(USE_RELATIVE_PATHS)
${CMAKE_INSTALL_MANDIR}
CACHE STRING "man(uals) directory"
)
# TODO: unused?
set(docdir
default_for_docdir
CACHE STRING "doc directory"
)
set(workingdir
"${CMAKE_INSTALL_LOCALSTATEDIR}/lib/${CMAKE_PROJECT_NAME}"
CACHE STRING "Bareos working directory"
Expand Down Expand Up @@ -162,11 +157,6 @@ else() # if(USE_RELATIVE_PATHS)
${CMAKE_INSTALL_FULL_MANDIR}
CACHE STRING "man(uals) directory"
)
# TODO: unused?
set(docdir
default_for_docdir
CACHE STRING "doc directory"
)
set(workingdir
"${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/lib/${CMAKE_PROJECT_NAME}"
CACHE STRING "Bareos working directory"
Expand Down
1 change: 0 additions & 1 deletion core/platforms/packaging/bareos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,6 @@ cmake .. \
-Dsysconfdir=%{_sysconfdir} \
-Dconfdir=%{_sysconfdir}/bareos \
-Dmandir=%{_mandir} \
-Ddocdir=%{_docdir}/%{name} \
-Darchivedir=/var/lib/%{name}/storage \
-Dbackenddir=%{backend_dir} \
-Dscriptdir=%{script_dir} \
Expand Down

0 comments on commit 5f3a2af

Please sign in to comment.