summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-11-19 23:13:30 +0100
committerJulian Andres Klode <jak@debian.org>2017-11-20 21:48:30 +0100
commitdfb4c178b4f6a7db255cbc7dc2b162721d807b58 (patch)
tree1d0e16dda35f36be576d2c6a09c78277f77c663d /doc
parent871f3346ea601b444eb8f487836a73d219766e0b (diff)
Translate shared documentation parts again
We accidentally did not translate the entity file, but should have. This makes apt.ent translatable again. This generates the target multiple times, but surprisingly, that works just fine, so let's just keep it that way, as it's clean code otherwise.
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index d7241eb5e..73d808c64 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -12,8 +12,11 @@ set(LINGUAS
pt
)
-set(ENTITIES
+set(TRANSLATED_ENTITIES
apt.ent
+)
+
+set(ENTITIES
apt-verbatim.ent
../vendor/${CURRENT_VENDOR}/apt-vendor.ent
)
@@ -25,6 +28,7 @@ add_docbook(apt-doc HTML TEXT ALL
offline.dbk
INSTALL ${CMAKE_INSTALL_DOCDIR}/../apt-doc
LINGUAS ${LINGUAS}
+ TRANSLATED_ENTITIES ${TRANSLATED_ENTITIES}
DEPENDS ${ENTITIES}
)
@@ -36,6 +40,7 @@ add_docbook(libapt-pkg-doc HTML TEXT ALL
method.dbk
INSTALL ${CMAKE_INSTALL_DOCDIR}/../libapt-pkg-doc
LINGUAS ${LINGUAS}
+ TRANSLATED_ENTITIES ${TRANSLATED_ENTITIES}
DEPENDS ${ENTITIES}
)
@@ -81,6 +86,7 @@ add_docbook(apt-man MANPAGE ALL
apt-sortpkgs.1.xml
sources.list.5.xml
DEPENDS ${ENTITIES}
+ TRANSLATED_ENTITIES ${TRANSLATED_ENTITIES}
LINGUAS ${LINGUAS}
)