5 # Bring in the default rules
6 include ../../buildlib/defaults.mak
8 # Do not use XMLTO, build the manpages directly with XSLTPROC
9 XSLTPROC=/usr/bin/xsltproc
10 STYLESHEET=./style.ja.xsl
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
27 $(patsubst %.ja.1,%.1,$(SOURCE)) \
28 $(patsubst %.ja.5,%.5,$(SOURCE)) \
29 $(patsubst %.ja.8,%.8,$(SOURCE))
31 $(SOURCE) :: % : %.xml $(INCLUDES)
32 echo Creating man page $@
33 $(XSLTPROC) -o $@ $(STYLESHEET) $<
35 apt-cache.ja.8:: apt-cache.8
38 apt-get.ja.8:: apt-get.8
41 apt-cdrom.ja.8:: apt-cdrom.8
44 apt.conf.ja.5:: apt.conf.5
47 apt-config.ja.8:: apt-config.8
50 sources.list.ja.5:: sources.list.5
53 apt-sortpkgs.ja.1:: apt-sortpkgs.1
56 apt-ftparchive.ja.1:: apt-ftparchive.1
59 apt_preferences.ja.5:: apt_preferences.5
62 apt-extracttemplates.ja.1:: apt-extracttemplates.1
65 apt-key.ja.8:: apt-key.8
68 apt-secure.ja.8:: apt-secure.8
71 apt-mark.ja.8:: apt-mark.8