Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=cc77292ca259881c67931ad0659f42c10afedfd7

commit cc77292ca259881c67931ad0659f42c10afedfd7
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sat Nov 24 18:13:02 2007 +0100

docs/Makefile: use -a lang=XX for asciidoc/a2x
so the strings like "Note" and "Important" are translated automatically

diff --git a/docs/Makefile b/docs/Makefile
index 0d4fee5..88879b7 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -103,19 +103,19 @@ images:
ln -s /etc/asciidoc/images ./

%.html: %.txt
-       asciidoc -a toc -a numbered -a sectids $(basename $@).txt
+       asciidoc -a toc -a numbered -a sectids -a lang=$(shell basename 
`pwd`|sed 's/docs//') $(basename $@).txt

%.text: %.html
lynx -dump $(basename $@).html > $@

%.pdf: %.txt
-       a2x -a toc -a numbered -a sectids -f pdf $^
+       a2x -a toc -a numbered -a sectids -f pdf -a lang=$(shell basename 
`pwd`|sed 's/docs//') $^

%.txt: %.txt.in
sed 's/@VERSION@/$(VERSION)/' $(basename $@).txt.in > $@

index.html: index.txt header.txt
-       asciidoc -a numbered -a sectids $(basename $@).txt
+       asciidoc -a numbered -a sectids -a lang=$(shell basename `pwd`|sed 
's/docs//') $(basename $@).txt

manual.txt: $(MANUAL_SOURCES) $(DYNAMIC_SOURCES)
$(call MERGE,index.txt,manual.txt)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to