summaryrefslogtreecommitdiff
path: root/doc/ja/makefile
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2006-02-22 09:13:43 +0000
committerMichael Vogt <mvo@debian.org>2006-02-22 09:13:43 +0000
commit9005c2b7f600d23c5ebf7c7cab295d036627bd6c (patch)
treee74278d8fd9c465065d546d5b732b675fc4e5a2e /doc/ja/makefile
parent70f87eb01fdbbebedfaac5680020c78ca2da9ad8 (diff)
parent7b4fd7a002023a709e12024a7668d225084beba9 (diff)
* merged with mainline, finalized changelog
Patches applied: * bubulle@debian.org--2005/apt--main--0--patch-183 Brazilian Portuguese translation update * bubulle@debian.org--2005/apt--main--0--patch-184 Italian translation update * bubulle@debian.org--2005/apt--main--0--patch-185 Japanese manpages translation update * bubulle@debian.org--2005/apt--main--0--patch-186 Simplified Chinese translation update * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-136 * merged with bubulle
Diffstat (limited to 'doc/ja/makefile')
-rw-r--r--doc/ja/makefile56
1 files changed, 54 insertions, 2 deletions
diff --git a/doc/ja/makefile b/doc/ja/makefile
index 9e757b590..286152995 100644
--- a/doc/ja/makefile
+++ b/doc/ja/makefile
@@ -5,7 +5,59 @@ SUBDIR=doc/ja
# Bring in the default rules
include ../../buildlib/defaults.mak
+# Do not use XMLTO, build the manpages directly with XSLTPROC
+XSLTPROC=/usr/bin/xsltproc
+STYLESHEET=./style.ja.xsl
+
+
# Man pages
-SOURCE = apt-cache.ja.8 apt-get.ja.8 apt-cdrom.ja.8 apt.conf.ja.5
+SOURCE = apt-cache.ja.8 apt-get.ja.8 apt-cdrom.ja.8 apt.conf.ja.5 \
+ sources.list.ja.5 apt-config.ja.8 apt-sortpkgs.ja.1 \
+ apt-ftparchive.ja.1 apt_preferences.ja.5 apt-extracttemplates.ja.1 \
+ apt-key.ja.8 apt-secure.ja.8
+
INCLUDES = apt.ent.ja
-include $(SGML_MANPAGE_H)
+
+doc: $(SOURCE)
+
+$(SOURCE) :: % : %.xml $(INCLUDES)
+ echo Creating man page $@
+ $(XSLTPROC) -o $@ $(STYLESHEET) $<
+
+apt-cache.ja.8:: apt-cache.8
+ cp $< $@
+
+apt-get.ja.8:: apt-get.8
+ cp $< $@
+
+apt-cdrom.ja.8:: apt-cdrom.8
+ cp $< $@
+
+apt.conf.ja.5:: apt.conf.5
+ cp $< $@
+
+apt-config.ja.8:: apt-config.8
+ cp $< $@
+
+sources.list.ja.5:: sources.list.5
+ cp $< $@
+
+apt-sortpkgs.ja.1:: apt-sortpkgs.1
+ cp $< $@
+
+apt-ftparchive.ja.1:: apt-ftparchive.1
+ cp $< $@
+
+apt_preferences.ja.5:: apt_preferences.5
+ cp $< $@
+
+apt-extracttemplates.ja.1:: apt-extracttemplates.1
+ cp $< $@
+
+apt-key.ja.8:: apt-key.8
+ cp $< $@
+
+apt-secure.ja.8:: apt-secure.8
+ cp $< $@
+
+