summaryrefslogtreecommitdiff
path: root/doc/fr/makefile
diff options
context:
space:
mode:
authorChristian Perrier <bubulle@debian.org>2005-09-23 18:12:46 +0000
committerChristian Perrier <bubulle@debian.org>2005-09-23 18:12:46 +0000
commit7224c2f669664c224d707f4e4c1a866bfe7371c7 (patch)
tree2cb7376696b3e5c7b3931fc9860e6f8e47d6e837 /doc/fr/makefile
parent0d2db5387192a18eb8ee601c05003ca90604d31f (diff)
parentbae108264e918e6f256d36bfce2a6c79b4b2a3ed (diff)
Merge with mvo
Patches applied: * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-60 * merged updated french man-page * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-61 * merged with bubulle * philippe.batailler@free.fr--2005/VOGTapt--mvo--0--patch-1 French L10N update * philippe.batailler@free.fr--2005/VOGTapt--mvo--0--patch-2 Generate correctly french manpages
Diffstat (limited to 'doc/fr/makefile')
-rw-r--r--doc/fr/makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/fr/makefile b/doc/fr/makefile
index c0e7fa7ed..596de7b09 100644
--- a/doc/fr/makefile
+++ b/doc/fr/makefile
@@ -5,11 +5,16 @@ SUBDIR=doc/fr
# Bring in the default rules
include ../../buildlib/defaults.mak
+# Do not use XMLTO, build the manpages directly with XSLTPROC
+XSLTPROC=/usr/bin/xsltproc
+STYLESHEET=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
+
+
# Man pages
SOURCE = apt-cache.fr.8 apt-get.fr.8 apt-cdrom.fr.8 apt.conf.fr.5 \
sources.list.fr.5 apt-config.fr.8 apt-sortpkgs.fr.1 \
apt-ftparchive.fr.1 apt_preferences.fr.5 apt-extracttemplates.fr.1 \
- apt-key.fr.8
+ apt-key.fr.8 apt-secure.fr.8
INCLUDES = apt.ent.fr
@@ -17,7 +22,7 @@ doc: $(SOURCE)
$(SOURCE) :: % : %.xml $(INCLUDES)
echo Creating man page $@
- $(XMLTO) man $<
+ $(XSLTPROC) -o $@ $(STYLESHEET) $<
apt-cache.fr.8:: apt-cache.8
cp $< $@
@@ -52,4 +57,7 @@ apt-extracttemplates.fr.1:: apt-extracttemplates.1
apt-key.fr.8:: apt-key.8
cp $< $@
+apt-secure.fr.8:: apt-secure.8
+ cp $< $@
+