summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-10-01 18:33:22 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-10-01 18:33:22 +0200
commit7652e03e9909ac65dab11a8cabb9ea5b77ef95ca (patch)
treebc8e42a7ace3c6b89b4e1a1ac9de73bc92051e99 /buildlib
parent0e65be59ac218d9479d429ab6cf24e072fdb819b (diff)
add guide.sgml and offline.sgml to the "translatable with po4a"-group
Fix also the buildsystem for building the coresponding docs from these two files if they are exist for this language so we don't need to change the makefiles for ja and fr - and can also use the same simple makefiles for it and pl which ship these files as not-yet-with-po4a-translated (and currently no man page translation.)
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/po4a_manpage.mak7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildlib/po4a_manpage.mak b/buildlib/po4a_manpage.mak
index 538859b6e..8bb7225b8 100644
--- a/buildlib/po4a_manpage.mak
+++ b/buildlib/po4a_manpage.mak
@@ -40,7 +40,7 @@ HAVE_PO4A=yes
endif
# take care of the rest
-SOURCE := $(SOURCE) apt.$(LC).8
+SOURCE := $(SOURCE) $(wildcard apt.$(LC).8)
INCLUDES :=
ifndef HAVE_PO4A
@@ -52,3 +52,8 @@ endif
ifneq ($(words $(SOURCE)),0)
include $(MANPAGE_H)
endif
+
+# Debian Doc SGML Documents
+SOURCE := $(wildcard *.$(LC).sgml)
+DEBIANDOC_HTML_OPTIONS=-l $(LC)
+include $(DEBIANDOC_H)