summaryrefslogtreecommitdiff
path: root/buildlib/po4a_manpage.mak
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/po4a_manpage.mak')
-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)