]> git.saurik.com Git - apt.git/blob - doc/ja/makefile
[ Nicolas François ]
[apt.git] / doc / ja / makefile
1 # -*- make -*-
2 BASE=../..
3 SUBDIR=doc/ja
4
5 # Bring in the default rules
6 include ../../buildlib/defaults.mak
7
8 # Do not use XMLTO, build the manpages directly with XSLTPROC
9 XSLTPROC=/usr/bin/xsltproc
10 STYLESHEET=./style.ja.xsl
11
12
13 # Man pages
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 \
17 apt-key.ja.8 apt-secure.ja.8 apt-mark.ja.8
18
19 INCLUDES = apt.ent
20
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))
30
31 $(SOURCE) :: % : %.xml $(INCLUDES)
32 echo Creating man page $@
33 $(XSLTPROC) -o $@ $(STYLESHEET) $<
34
35 apt-cache.ja.8:: apt-cache.8
36 cp $< $@
37
38 apt-get.ja.8:: apt-get.8
39 cp $< $@
40
41 apt-cdrom.ja.8:: apt-cdrom.8
42 cp $< $@
43
44 apt.conf.ja.5:: apt.conf.5
45 cp $< $@
46
47 apt-config.ja.8:: apt-config.8
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
56 apt-ftparchive.ja.1:: apt-ftparchive.1
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
65 apt-key.ja.8:: apt-key.8
66 cp $< $@
67
68 apt-secure.ja.8:: apt-secure.8
69 cp $< $@
70
71 apt-mark.ja.8:: apt-mark.8
72 cp $< $@
73
74
75