[Frugalware-git] pacman-g2: doc: pass the language parameter to docbook

Miklos Vajna vmiklos at frugalware.org
Fri Nov 23 22:27:02 CET 2007


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=170b49b9bf19a44d3bcb5b3af2c917e03e79f901

commit 170b49b9bf19a44d3bcb5b3af2c917e03e79f901
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Fri Nov 23 22:24:30 2007 +0100

doc: pass the language parameter to docbook

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 936e2ae..5879c48 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -23,15 +23,15 @@ endif

if HAS_ASCIIDOC
%.3: %.txt
-	a2x -f manpage $^
+	a2x -a lang=$(shell dirname $@|tr -d .) -f manpage $^
$(call convert_MAN,$@)

%.5: %.txt
-	a2x -f manpage $^
+	a2x -a lang=$(shell dirname $@|tr -d .) -f manpage $^
$(call convert_MAN,$@)

%.8: %.txt
-	a2x -f manpage $^
+	a2x -a lang=$(shell dirname $@|tr -d .) -f manpage $^
$(call convert_MAN,$@)

all: $(man_MANS) po4a localized_mans


More information about the Frugalware-git mailing list