From 297094e070147129f619255d6afd978cc1d7a4ae Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Tue, 13 Oct 2020 17:36:00 -0400 Subject: [PATCH] Set --docdir to actual destination CMake 3.19 adds a link to the CMake reference manual in the help menu, which attempts to open the local file if it exists, and falls back to the internet if it does not. It searches for this local file based on CMAKE_DOC_DIR. However, CMAKE_DOC_DIR was not being set to the actual destination. Change CMAKE_DOC_DIR to reflect the actual destination so that the CMake GUI can find it. --- debian/cmake-doc.install | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/cmake-doc.install b/debian/cmake-doc.install index 8b7cbc502..f4fa71f22 100644 --- a/debian/cmake-doc.install +++ b/debian/cmake-doc.install @@ -1 +1 @@ -usr/share/doc/cmake/html usr/share/doc/cmake-data/ +usr/share/doc/cmake-data/html diff --git a/debian/rules b/debian/rules index 9807ee96d..155f2e2df 100755 --- a/debian/rules +++ b/debian/rules @@ -44,7 +44,7 @@ verify-build-flags: flag_action := verify_build_flag override_dh_auto_configure: $(BUILD_FLAGS_FILE) rm -rf Build && mkdir -p Build - cd Build && ../bootstrap --prefix=/usr --docdir=/share/doc/cmake --mandir=/share/man \ + cd Build && ../bootstrap --prefix=/usr --docdir=/share/doc/cmake-data --mandir=/share/man \ --init=../$(BUILD_FLAGS_FILE) --system-libs \ --sphinx-man --sphinx-html --sphinx-flags="-D today=\"$(BUILD_DATE)\"" \ $(BOOTSTRAP_PARALLEL) --verbose