Subversion Repositories svn LFS-FR

Rev

Rev 7247 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7247 jlepiller 1
all: fr.html
2
 
3
LANG_fr.po:=fr_FR.UTF-8
4
 
5
.PHONY: fr
6
 
7
.PRECIOUS: %.po
8
 
9
faq-en.html:
10
	wget -c http://linuxfromscratch.org/lfs/faq.html -O - | sed '/id="footer"/,$$d' | sed '/DOCTYPE/,/class="main"/d' | sed '339s|</dl>|</dl>\n      <dl>|' > $@
11
 
12
%.po: faq-en.html
7248 jlepiller 13
	LANG=$(LANG_$@) po4a-updatepo -f xhtml -m $< -p $@
7247 jlepiller 14
 
15
%.html: faq-en.html %.po
7248 jlepiller 16
	$(LANG_EXPORT) po4a-translate -k 0 -f xhtml -m $< -l $@ -p $(word 2,$^)
7247 jlepiller 17
 
18
clean:
19
	rm -f faq-en.html fr.html