blob: e2b125883dba7a6b712a6d31960f405feeed8dec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
include ../Makefile.common
GEN_TR_MAN1S := $(patsubst %.1,fr/%.fr.1,$(GEN_MAN1S))
GEN_TR_MAN1S += $(patsubst %.1,de/%.de.1,$(GEN_MAN1S))
all: translate
# GEN_TR_MAN1S needs translate finished, serialize the calls
@$(MAKE) -C . transform
transform: $(GEN_TR_MAN1S)
translate: ../doc/devscripts.1
po4a --previous --no-backups --keep=0 devscripts-po4a.conf
touch translate
clean: ../doc/devscripts.1
po4a --previous --rm-translations --no-backups devscripts-po4a.conf
rm -f $(GEN_TR_MAN1S) translate
rm -rf de fr
../doc/devscripts.1:
# po4a translate and clean need ../doc/devscripts.1, rebuild it
$(MAKE) -C ../doc devscripts.1
de/%.de.1: de/%.de.pl translate
podchecker $<
pod2man --utf8 --center=" " --release="Debian-Hilfswerkzeuge" $< > $@
de/%.de.1: de/%.de.pod translate
podchecker $<
pod2man --utf8 --center=" " --release="Debian-Hilfswerkzeuge" $< > $@
de/%.de.1: de/%.de.dbk translate
xsltproc --nonet -o $@ \
/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
# xsltproc writes out to foo.1 even if you tell it to do otherwise, so we have
# to rename the file after it's generated
mv de/$*.1 $@
fr/%.fr.1: fr/%.fr.pl translate
podchecker $<
pod2man --utf8 --center=" " --release="Utilitaires Debian" $< > $@
fr/%.fr.1: fr/%.fr.pod translate
podchecker $<
pod2man --utf8 --center=" " --release="Utilitaires Debian" $< > $@
fr/%.fr.1: fr/%.fr.dbk translate
xsltproc --nonet -o $@ \
/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
# xsltproc writes out to foo.1 even if you tell it to do otherwise, so we have
# to rename the file after it's generated
mv fr/$*.1 $@
|