aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--man/C/enable_X11_numlock.1 (renamed from enable_X11_numlock.1)0
-rw-r--r--man/fr/enable_X11_numlock.118
-rw-r--r--numlock.spec3
4 files changed, 25 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d0ea5cb..cb74ac1 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,11 @@ install: all
install -d $(TOP)/etc/X11/xinit.d
install -m755 enable_X11_numlock $(TOP)/usr/X11R6/bin
- install -m755 enable_X11_numlock.1 $(TOP)/usr/X11R6/man/man1/
+ install -m755 man/C/enable_X11_numlock.1 $(TOP)/usr/X11R6/man/man1/
+ for i in man/??* ; do \
+ install -d $(TOP)/usr/X11R6/man/`basename $$i`/man1 ; \
+ install -m 644 $$i/*.1 $(TOP)/usr/X11R6/man/`basename $$i`/man1 ; \
+ done
install -m755 numlock.init $(TOP)/$(INITRDDIR)/$(NAME)
install -m755 numlock.sh $(TOP)/etc/profile.d/
diff --git a/enable_X11_numlock.1 b/man/C/enable_X11_numlock.1
index 2849186..2849186 100644
--- a/enable_X11_numlock.1
+++ b/man/C/enable_X11_numlock.1
diff --git a/man/fr/enable_X11_numlock.1 b/man/fr/enable_X11_numlock.1
new file mode 100644
index 0000000..f010a40
--- /dev/null
+++ b/man/fr/enable_X11_numlock.1
@@ -0,0 +1,18 @@
+.TH Enable_X11_Numlock "9 Jan 2001" "Linux Mandrake Manual"
+.SH NAME
+enable_X11_numlock \- Active la fonction « numlock » dans X11
+.SH SYNOPSIS
+.BI enable_X11_numlock
+[on]
+[off]
+[switch]
+.SH DESCRIPTION
+La commande
+.B enable_X11_numlock
+active, désactive, ou commute la fonction « numlock » dans X, respectivement.
+Le comportement par défaut (par ex. quand aucune option n'est spécifiée) est
+de l'activer.
+
+.SH "VOIR AUSSI"
+
+.BR X (1).
diff --git a/numlock.spec b/numlock.spec
index 4c7ead5..a315ba4 100644
--- a/numlock.spec
+++ b/numlock.spec
@@ -48,7 +48,8 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) /etc/profile.d/%{name}.sh
%config(noreplace) /etc/X11/xinit.d/numlock
/usr/X11R6/bin/*
-/usr/X11R6/man/*/*
+/usr/X11R6/man/man*/*
+%lang(fr) /usr/X11R6/man/fr/man*/*
%changelog
* Thu Mar 29 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 2.0-2mdk