Last active
August 8, 2016 13:59
-
-
Save julian-klode/8356ea7a83ddb4034d4c272a2edeb5f0 to your computer and use it in GitHub Desktop.
APT Documentation CMakeLists.txt draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include(Documentation) | |
set(LINGUAS de es fr it ja nl pl pt_BR pt) | |
set(ENTITIES | |
apt.ent | |
apt-verbatim.ent | |
../vendor/${CURRENT_VENDOR}/apt-vendor.ent | |
) | |
if (WITH_DOC) | |
add_docbook(DOCUMENTS guide offline | |
INSTALL ${CMAKE_INSTALL_DOCDIR}/../apt-doc | |
LINGUAS ${LINGUAS} | |
DEPENDS ${ENTITIES} | |
HTML TEXT) | |
add_docbook(DOCUMENTS cache design dpkg-tech files method | |
INSTALL ${CMAKE_INSTALL_DOCDIR}/../apt-doc | |
LINGUAS ${LINGUAS} | |
DEPENDS ${ENTITIES} | |
HTML TEXT) | |
endif() | |
add_docbook( | |
DOCUMENTS | |
apt.8 | |
apt-cache.8 | |
apt-get.8 | |
apt-cdrom.8 | |
apt.conf.5 | |
sources.list.5 | |
apt-config.8 | |
apt_preferences.5 | |
apt-sortpkgs.1 | |
apt-ftparchive.1 | |
apt-extracttemplates.1 | |
apt-key.8 | |
apt-secure.8 | |
apt-mark.8 | |
DEPENDS ${ENTITIES} | |
LINGUAS ${LINGUAS} | |
MANPAGE | |
) | |
add_subdirectory(examples) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment