diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-12-10 17:24:40 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-12-10 17:24:40 +0100 |
commit | be2033f9563d148c1ebf1b70c46a1aba6501c031 (patch) | |
tree | 68a23ef2feabc4160c43337f72975818f1c65f27 /buildlib/po4a_manpage.mak | |
parent | 96a3069f85aa8ac2dc532bcdd62742faf05e45d4 (diff) | |
parent | 5632b305b24161e18a809b4bb33a19ec8ea3d497 (diff) |
merged -r1875..1886 from lp:~donkult/apt/sid
Diffstat (limited to 'buildlib/po4a_manpage.mak')
-rw-r--r-- | buildlib/po4a_manpage.mak | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/buildlib/po4a_manpage.mak b/buildlib/po4a_manpage.mak index 538859b6e..3d90c6ba4 100644 --- a/buildlib/po4a_manpage.mak +++ b/buildlib/po4a_manpage.mak @@ -28,6 +28,7 @@ veryclean: veryclean/$(LOCAL) $($(LOCAL)-LIST) :: % : %.xml $(INCLUDES) echo Creating man page $@ $(XSLTPROC) -o $@ $(STYLESHEET) $< # why xsltproc doesn't respect the -o flag here??? + test -f $(subst .$(LC),,$@) || echo FIXME: xsltproc respect the -o flag now, workaround can be removed mv -f $(subst .$(LC),,$@) $@ # Clean rule @@ -40,7 +41,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 +53,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) |