gnucash-docs stable: Remove extraneous and incorrect DESTDIR variable.
John Ralls
jralls at code.gnucash.org
Thu Aug 15 10:33:05 EDT 2024
Updated via https://github.com/Gnucash/gnucash-docs/commit/64e9e74a (commit)
from https://github.com/Gnucash/gnucash-docs/commit/438cebd1 (commit)
commit 64e9e74a7afe31a6f08f897e896d8b68b62079e7
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Aug 15 07:32:28 2024 -0700
Remove extraneous and incorrect DESTDIR variable.
diff --git a/cmake/AddXdgHelpTarget.cmake b/cmake/AddXdgHelpTarget.cmake
index 867ebd14..23a7b5eb 100644
--- a/cmake/AddXdgHelpTarget.cmake
+++ b/cmake/AddXdgHelpTarget.cmake
@@ -90,11 +90,6 @@ function (add_xdghelp_target targetbase lang entities figures)
COMPONENT "xdghelp")
# Add links to make our documentation visible for KDE's help system
- if ($ENV{DESTDIR})
- set(DESTDIR "$ENV{DESTDIR}")
- else()
- set(DESTDIR "${CMAKE_INSTALL_PREFIX}")
- endif()
set(doc_install_dir_kde_base "\$ENV{DESTDIR}${CMAKE_INSTALL_DATADIR}/doc/HTML")
install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")"
COMPONENT "xdghelp")
Summary of changes:
cmake/AddXdgHelpTarget.cmake | 5 -----
1 file changed, 5 deletions(-)
More information about the gnucash-changes
mailing list