]>
Commit | Line | Data |
---|---|---|
0ee9ebde AL |
1 | # -*- make -*- |
2 | BASE=../.. | |
3 | SUBDIR=doc/ja | |
4 | ||
5 | # Bring in the default rules | |
6 | include ../../buildlib/defaults.mak | |
7 | ||
5d909e1f CP |
8 | # Do not use XMLTO, build the manpages directly with XSLTPROC |
9 | XSLTPROC=/usr/bin/xsltproc | |
10 | STYLESHEET=./style.ja.xsl | |
11 | ||
12 | ||
0ee9ebde | 13 | # Man pages |
5d909e1f CP |
14 | SOURCE = apt-cache.ja.8 apt-get.ja.8 apt-cdrom.ja.8 apt.conf.ja.5 \ |
15 | sources.list.ja.5 apt-config.ja.8 apt-sortpkgs.ja.1 \ | |
16 | apt-ftparchive.ja.1 apt_preferences.ja.5 apt-extracttemplates.ja.1 \ | |
095bdb6f | 17 | apt-key.ja.8 apt-secure.ja.8 apt-mark.ja.8 |
5d909e1f | 18 | |
095bdb6f | 19 | INCLUDES = apt.ent |
5d909e1f | 20 | |
095bdb6f DK |
21 | doc: $(SOURCE) |
22 | ||
23 | clean: clean-manpages | |
24 | ||
25 | clean-manpages: | |
26 | rm -f $(SOURCE) \ | |
27 | $(patsubst %.ja.1,%.1,$(SOURCE)) \ | |
28 | $(patsubst %.ja.5,%.5,$(SOURCE)) \ | |
29 | $(patsubst %.ja.8,%.8,$(SOURCE)) | |
5d909e1f CP |
30 | |
31 | $(SOURCE) :: % : %.xml $(INCLUDES) | |
32 | echo Creating man page $@ | |
33 | $(XSLTPROC) -o $@ $(STYLESHEET) $< | |
34 | ||
095bdb6f | 35 | apt-cache.ja.8:: apt-cache.8 |
5d909e1f CP |
36 | cp $< $@ |
37 | ||
38 | apt-get.ja.8:: apt-get.8 | |
39 | cp $< $@ | |
40 | ||
095bdb6f | 41 | apt-cdrom.ja.8:: apt-cdrom.8 |
5d909e1f CP |
42 | cp $< $@ |
43 | ||
095bdb6f | 44 | apt.conf.ja.5:: apt.conf.5 |
5d909e1f CP |
45 | cp $< $@ |
46 | ||
095bdb6f | 47 | apt-config.ja.8:: apt-config.8 |
5d909e1f CP |
48 | cp $< $@ |
49 | ||
50 | sources.list.ja.5:: sources.list.5 | |
51 | cp $< $@ | |
52 | ||
53 | apt-sortpkgs.ja.1:: apt-sortpkgs.1 | |
54 | cp $< $@ | |
55 | ||
095bdb6f | 56 | apt-ftparchive.ja.1:: apt-ftparchive.1 |
5d909e1f CP |
57 | cp $< $@ |
58 | ||
59 | apt_preferences.ja.5:: apt_preferences.5 | |
60 | cp $< $@ | |
61 | ||
62 | apt-extracttemplates.ja.1:: apt-extracttemplates.1 | |
63 | cp $< $@ | |
64 | ||
095bdb6f | 65 | apt-key.ja.8:: apt-key.8 |
5d909e1f CP |
66 | cp $< $@ |
67 | ||
095bdb6f | 68 | apt-secure.ja.8:: apt-secure.8 |
5d909e1f CP |
69 | cp $< $@ |
70 | ||
095bdb6f DK |
71 | apt-mark.ja.8:: apt-mark.8 |
72 | cp $< $@ | |
73 | ||
74 | ||
5d909e1f | 75 |