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.
This commit is contained in:
parent
2e4702f156
commit
297094e070
2
debian/cmake-doc.install
vendored
2
debian/cmake-doc.install
vendored
@ -1 +1 @@
|
||||
usr/share/doc/cmake/html usr/share/doc/cmake-data/
|
||||
usr/share/doc/cmake-data/html
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user