doc: doc package for qch file

(#3)
This commit is contained in:
Gary Wang 2019-07-31 17:38:18 +08:00 committed by GitHub
parent 9f79b3d7cc
commit 10392da3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 4 deletions

View File

@ -1,10 +1,10 @@
project(gio-qt) project(gio-qt)
cmake_minimum_required(VERSION 3.9.5) cmake_minimum_required(VERSION 3.12.4)
option(BUILD_TESTS "Build tests" OFF) option(BUILD_TESTS "Build tests" OFF)
option(BUILD_UTILS "Build utilities" ON) option(BUILD_UTILS "Build utilities" ON)
option(BUILD_DOCS "Build documentation" OFF) option(BUILD_DOCS "Build documentation" ON)
# Version # Version
if (NOT PROJECT_VERSION) if (NOT PROJECT_VERSION)
@ -68,7 +68,7 @@ if (BUILD_DOCS)
COMMENT "Generate documentation via Doxygen" COMMENT "Generate documentation via Doxygen"
) )
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION share/doc) install (FILES ${CMAKE_CURRENT_BINARY_DIR}/docs/gio-qt.qch DESTINATION share/qt5/doc)
else () else ()
message (STATUS "") message (STATUS "")

10
debian/control vendored
View File

@ -7,7 +7,9 @@ Build-Depends:
cmake, cmake,
pkg-config, pkg-config,
qt5-default, qt5-default,
libglibmm-2.4-dev libglibmm-2.4-dev,
doxygen,
qttools5-dev-tools
Standards-Version: 3.9.8 Standards-Version: 3.9.8
Homepage: https://github.com/linuxdeepin/gio-qt Homepage: https://github.com/linuxdeepin/gio-qt
@ -18,6 +20,12 @@ Description: Gio wrapper for Qt.
Package: libgio-qt-dev Package: libgio-qt-dev
Architecture: any Architecture: any
Section: libdevel
Depends: libgio-qt, ${misc:Depends} Depends: libgio-qt, ${misc:Depends}
Description: Development package for libgio-qt. Description: Development package for libgio-qt.
Package: libgio-qt-doc
Architecture: any
Section: doc
Depends: ${misc:Depends}
Description: Gio wrapper for Qt (documentation)

1
debian/libgio-qt-doc.install vendored Normal file
View File

@ -0,0 +1 @@
/usr/share/qt5/doc/*.qch