Git commit 599f61063b1d50b0f0878db95d384efa68f2266b by Mauro Carvalho Chehab. Committed on 02/06/2016 at 21:21. Pushed by mauroc into branch 'master'.
Add documentation to the build system Add a CMakeLists.txt file to doc/ dir, fix index.docbook for it to build and include it to the main CMakeLists.txt CC [email protected] Signed-off-by: Mauro Carvalho Chehab <[email protected]> M +2 -0 CMakeLists.txt M +1 -1 doc/CMakeLists.txt M +3 -13 doc/index.docbook http://commits.kde.org/kaffeine/599f61063b1d50b0f0878db95d384efa68f2266b diff --git a/CMakeLists.txt b/CMakeLists.txt index 1be9599..6eabb39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,6 +44,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Notifications IdleTime DBusAddons + DocTools # To generate Kaffeine Handbook ) include(KDEInstallDirs) @@ -79,6 +80,7 @@ add_subdirectory(dtvdaemon) add_subdirectory(icons) add_subdirectory(profiles) add_subdirectory(src) +add_subdirectory(doc) ecm_optional_add_subdirectory(po) if(BUILD_TOOLS) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 39c1c95..06f05fb 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1 +1 @@ -kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR amarok) +kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kaffeine) diff --git a/doc/index.docbook b/doc/index.docbook index 8532031..8d8a73e 100644 --- a/doc/index.docbook +++ b/doc/index.docbook @@ -1,21 +1,11 @@ <?xml version="1.0" ?> -<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.0//EN" "dtd/kdex.dtd" [ - <!-- Define an entity for your application if it is not part of KDE - CVS --> +<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ <!ENTITY kaffeine "<application>Kaffeine</application>"> - <!ENTITY kappname "&kaffeine;"><!-- replace kmyapplication here - do *not* replace kappname--> - <!ENTITY package "kde-module"><!-- kdebase, kdeadmin, etc. Leave - this unchanged if your - application is not maintained in KDE CVS --> <!ENTITY % addindex "IGNORE"> - <!ENTITY % English "INCLUDE"> <!-- ONLY If you are writing non-English - original documentation, change - the language here --> + <!ENTITY % English "INCLUDE"> ]> -<book lang="&language;"> - +<book id="kaffeine" lang="&language;"> <bookinfo> <title>&kaffeine; 0.8 Handbook</title> _______________________________________________ kde-doc-english mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-doc-english
