]> git.saurik.com Git - apt.git/blame - doc/ja/makefile
add ignore patterns to be able to use "bzr status" or "bzr add" again
[apt.git] / doc / ja / makefile
CommitLineData
0ee9ebde
AL
1# -*- make -*-
2BASE=../..
3SUBDIR=doc/ja
4
5# Bring in the default rules
6include ../../buildlib/defaults.mak
7
5d909e1f
CP
8# Do not use XMLTO, build the manpages directly with XSLTPROC
9XSLTPROC=/usr/bin/xsltproc
10STYLESHEET=./style.ja.xsl
11
12
0ee9ebde 13# Man pages
5d909e1f
CP
14SOURCE = 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 19INCLUDES = apt.ent
5d909e1f 20
095bdb6f
DK
21doc: $(SOURCE)
22
23clean: clean-manpages
24
25clean-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 35apt-cache.ja.8:: apt-cache.8
5d909e1f
CP
36 cp $< $@
37
38apt-get.ja.8:: apt-get.8
39 cp $< $@
40
095bdb6f 41apt-cdrom.ja.8:: apt-cdrom.8
5d909e1f
CP
42 cp $< $@
43
095bdb6f 44apt.conf.ja.5:: apt.conf.5
5d909e1f
CP
45 cp $< $@
46
095bdb6f 47apt-config.ja.8:: apt-config.8
5d909e1f
CP
48 cp $< $@
49
50sources.list.ja.5:: sources.list.5
51 cp $< $@
52
53apt-sortpkgs.ja.1:: apt-sortpkgs.1
54 cp $< $@
55
095bdb6f 56apt-ftparchive.ja.1:: apt-ftparchive.1
5d909e1f
CP
57 cp $< $@
58
59apt_preferences.ja.5:: apt_preferences.5
60 cp $< $@
61
62apt-extracttemplates.ja.1:: apt-extracttemplates.1
63 cp $< $@
64
095bdb6f 65apt-key.ja.8:: apt-key.8
5d909e1f
CP
66 cp $< $@
67
095bdb6f 68apt-secure.ja.8:: apt-secure.8
5d909e1f
CP
69 cp $< $@
70
095bdb6f
DK
71apt-mark.ja.8:: apt-mark.8
72 cp $< $@
73
74
5d909e1f 75