summaryrefslogtreecommitdiff
path: root/doc/ja/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ja/makefile')
-rw-r--r--doc/ja/makefile32
1 files changed, 22 insertions, 10 deletions
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 $< $@
+
+