]> git.saurik.com Git - apt.git/blame - doc/CMakeLists.txt
CMake: debian: Switch packaging over to CMake and dh 9
[apt.git] / doc / CMakeLists.txt
CommitLineData
9a2aa0e7
JAK
1include(Documentation)
2
3file(GLOB_RECURSE debiandoc-apt guide*.dbk offline*.dbk)
4file(GLOB_RECURSE debiandoc-libapt cache*.dbk design*.dbk dpkg-tech*.dbk
5 files*.dbk method*.dbk)
6
7
8set(manpages apt.8 apt-cache.8 apt-get.8 apt-cdrom.8 apt.conf.5 sources.list.5
9 apt-config.8 apt_preferences.5 apt-sortpkgs.1 apt-ftparchive.1
10 apt-extracttemplates.1 apt-key.8 apt-secure.8 apt-mark.8)
11
12if (WITH_DOC)
13add_docbook(debiandoc-apt "${debiandoc-apt}" share/doc/apt-doc)
14add_docbook(debiandoc-libapt "${debiandoc-libapt}" share/doc/libapt-pkg-doc)
15endif()
16
17# Build the manpages, and add translations (ja only for now, others broken)
18add_xml_manpages(doc-man "${manpages}" "de;es;fr;it;ja;nl;pl;pt_BR;pt" "apt.ent;apt-verbatim.ent")
19
20
21add_subdirectory(examples)