From 095bdb6fe230a499ab150e55d514b938d2d2bbd7 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 26 Aug 2009 17:29:29 +0200 Subject: =?UTF-8?q?=20=20[=20Nicolas=20Fran=C3=A7ois=20]=20=20=20*=20doc/j?= =?UTF-8?q?a/*,=20doc/po/ja.po:=20=20=20=20=20-=20remove=20the=20old=20ja?= =?UTF-8?q?=20man=20page=20translation=20and=20replace=20it=20with=20=20?= =?UTF-8?q?=20=20=20=20=20the=20new=20po4a-powered=20translation=20by=20KU?= =?UTF-8?q?RASAWA=20Nozomu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/ja/makefile | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) (limited to 'doc/ja/makefile') diff --git a/doc/ja/makefile b/doc/ja/makefile index 286152995..da566cc96 100644 --- a/doc/ja/makefile +++ b/doc/ja/makefile @@ -14,29 +14,37 @@ STYLESHEET=./style.ja.xsl 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 + apt-key.ja.8 apt-secure.ja.8 apt-mark.ja.8 -INCLUDES = apt.ent.ja +INCLUDES = apt.ent -doc: $(SOURCE) +doc: $(SOURCE) + +clean: clean-manpages + +clean-manpages: + rm -f $(SOURCE) \ + $(patsubst %.ja.1,%.1,$(SOURCE)) \ + $(patsubst %.ja.5,%.5,$(SOURCE)) \ + $(patsubst %.ja.8,%.8,$(SOURCE)) $(SOURCE) :: % : %.xml $(INCLUDES) echo Creating man page $@ $(XSLTPROC) -o $@ $(STYLESHEET) $< -apt-cache.ja.8:: apt-cache.8 +apt-cache.ja.8:: apt-cache.8 cp $< $@ apt-get.ja.8:: apt-get.8 cp $< $@ -apt-cdrom.ja.8:: apt-cdrom.8 +apt-cdrom.ja.8:: apt-cdrom.8 cp $< $@ -apt.conf.ja.5:: apt.conf.5 +apt.conf.ja.5:: apt.conf.5 cp $< $@ -apt-config.ja.8:: apt-config.8 +apt-config.ja.8:: apt-config.8 cp $< $@ sources.list.ja.5:: sources.list.5 @@ -45,7 +53,7 @@ sources.list.ja.5:: sources.list.5 apt-sortpkgs.ja.1:: apt-sortpkgs.1 cp $< $@ -apt-ftparchive.ja.1:: apt-ftparchive.1 +apt-ftparchive.ja.1:: apt-ftparchive.1 cp $< $@ apt_preferences.ja.5:: apt_preferences.5 @@ -54,10 +62,14 @@ apt_preferences.ja.5:: apt_preferences.5 apt-extracttemplates.ja.1:: apt-extracttemplates.1 cp $< $@ -apt-key.ja.8:: apt-key.8 +apt-key.ja.8:: apt-key.8 cp $< $@ -apt-secure.ja.8:: apt-secure.8 +apt-secure.ja.8:: apt-secure.8 cp $< $@ +apt-mark.ja.8:: apt-mark.8 + cp $< $@ + + -- cgit v1.2.3 From b01390eaa5750f28f258308b546f398ea5d89e3c Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 27 Aug 2009 15:28:28 +0200 Subject: * buildlib/po4a_manpage.mak, doc/makefile, configure: - simplify the makefiles needed for po4a manpages Add a bit more autodetection to the buildsystem to be able to add only half translated languages (only a few man pages, not all) and try to reduce the overhead needed to add new languages. --- doc/ja/makefile | 70 +++------------------------------------------------------ 1 file changed, 3 insertions(+), 67 deletions(-) (limited to 'doc/ja/makefile') diff --git a/doc/ja/makefile b/doc/ja/makefile index da566cc96..f44bb1c0f 100644 --- a/doc/ja/makefile +++ b/doc/ja/makefile @@ -5,71 +5,7 @@ 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 \ - 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 apt-mark.ja.8 - -INCLUDES = apt.ent - -doc: $(SOURCE) - -clean: clean-manpages - -clean-manpages: - rm -f $(SOURCE) \ - $(patsubst %.ja.1,%.1,$(SOURCE)) \ - $(patsubst %.ja.5,%.5,$(SOURCE)) \ - $(patsubst %.ja.8,%.8,$(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 $< $@ - -apt-mark.ja.8:: apt-mark.8 - cp $< $@ - - +# Language Code of this translation +LC=ja +include $(PO4A_MANPAGE_H) -- cgit v1.2.3