From 7652e03e9909ac65dab11a8cabb9ea5b77ef95ca Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 1 Oct 2009 18:33:22 +0200 Subject: 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.) --- buildlib/po4a_manpage.mak | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'buildlib/po4a_manpage.mak') 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) -- cgit v1.2.3 From 9cdb1aab6f18c97e0d51e97e9a6b84bbf21ddc3e Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 16 Oct 2009 08:36:15 +0200 Subject: add a message which will be displayed if xsltproc does respect the -o flag again and a manual mv to the correct name is no longer needed. (used in the buildprocess of po4a manpages) --- buildlib/po4a_manpage.mak | 1 + 1 file changed, 1 insertion(+) (limited to 'buildlib/po4a_manpage.mak') diff --git a/buildlib/po4a_manpage.mak b/buildlib/po4a_manpage.mak index 8bb7225b8..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 -- cgit v1.2.3 From 93517da394859666e4af08f518dfb95c4ac271dd Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 2 Nov 2009 10:26:52 +0100 Subject: fix/simplify buildsystem for the (now) po4a-only manpages --- buildlib/po4a_manpage.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildlib/po4a_manpage.mak') diff --git a/buildlib/po4a_manpage.mak b/buildlib/po4a_manpage.mak index 3d90c6ba4..dfa215d29 100644 --- a/buildlib/po4a_manpage.mak +++ b/buildlib/po4a_manpage.mak @@ -35,7 +35,8 @@ $($(LOCAL)-LIST) :: % : %.xml $(INCLUDES) .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 -- cgit v1.2.3