X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/4011e1137955decbb988e0098ba9f4fdbe6f2e4d..9785ecf63d924746289baec427cea75ee8d9c745:/buildlib/po4a_manpage.mak diff --git a/buildlib/po4a_manpage.mak b/buildlib/po4a_manpage.mak index 8bb7225b8..6eec9d031 100644 --- a/buildlib/po4a_manpage.mak +++ b/buildlib/po4a_manpage.mak @@ -28,13 +28,15 @@ 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 .PHONY: veryclean/$(LOCAL) veryclean/$(LOCAL): -rm -rf $($(@F)-LIST) apt.ent apt.$(LC).8 \ - $(addsuffix .xml,$($(@F)-LIST)) + $(addsuffix .xml,$($(@F)-LIST)) \ + offline.$(LC).sgml guide.$(LC).sgml HAVE_PO4A=yes endif @@ -55,5 +57,5 @@ endif # Debian Doc SGML Documents SOURCE := $(wildcard *.$(LC).sgml) -DEBIANDOC_HTML_OPTIONS=-l $(LC) +DEBIANDOC_HTML_OPTIONS=-l $(LC).UTF-8 include $(DEBIANDOC_H)