author | "Hidetaka Iwai <tyuyu@debian.or.jp>" |
Wed, 02 Nov 2005 16:13:24 -0800 | |
changeset 1489 | a64fdaf60f9d |
child 1500 | cadde8ebf167 |
permissions | -rw-r--r-- |
1489
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
1 |
SOURCES=$(wildcard *.[0-9].ja.txt) |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
2 |
MAN=$(SOURCES:%.txt=%) |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
3 |
HTML=$(SOURCES:%.txt=%.html) |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
4 |
|
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
5 |
all: man html |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
6 |
|
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
7 |
man: $(MAN) |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
8 |
|
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
9 |
html: $(HTML) |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
10 |
|
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
11 |
%: %.xml |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
12 |
xmlto man $*.xml |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
13 |
|
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
14 |
%.xml: %.txt |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
15 |
-asciidoc -d manpage -b docbook -f docbook.ja.conf $*.txt |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
16 |
|
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
17 |
%.html: %.txt |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
18 |
asciidoc -b html4 $*.txt |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
19 |
|
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
20 |
clean: |
a64fdaf60f9d
Added Japanese translations of manpages.
"Hidetaka Iwai <tyuyu@debian.or.jp>"
parents:
diff
changeset
|
21 |
$(RM) $(MAN:%.ja=%) $(MAN:%=%.xml) $(MAN:%=%.html) |