From bf147826cb3f22ba8a46e56a714896de16bc61f6 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Mon, 3 Sep 2001 02:04:02 +0000 Subject: moved English man page to man/C; added French man page --- Makefile | 6 +++++- enable_X11_numlock.1 | 17 ----------------- man/C/enable_X11_numlock.1 | 17 +++++++++++++++++ man/fr/enable_X11_numlock.1 | 18 ++++++++++++++++++ numlock.spec | 3 ++- 5 files changed, 42 insertions(+), 19 deletions(-) delete mode 100644 enable_X11_numlock.1 create mode 100644 man/C/enable_X11_numlock.1 create mode 100644 man/fr/enable_X11_numlock.1 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/enable_X11_numlock.1 deleted file mode 100644 index 2849186..0000000 --- a/enable_X11_numlock.1 +++ /dev/null @@ -1,17 +0,0 @@ -.TH Enable_X11_Numlock "9 Jan 2001" "Linux Mandrake Manual" -.SH NAME -enable_X11_numlock \- Enable X11 numlock -.SH SYNOPSIS -.BI enable_X11_numlock -[on] -[off] -[switch] -.SH DESCRIPTION -The command -.B enable_X11_numlock -turns on, off, or switches the numlock under X. Default behaviour (e.g. -when no option is given) is to turn it on. - -.SH "SEE ALSO" - -.BR X (1). diff --git a/man/C/enable_X11_numlock.1 b/man/C/enable_X11_numlock.1 new file mode 100644 index 0000000..2849186 --- /dev/null +++ b/man/C/enable_X11_numlock.1 @@ -0,0 +1,17 @@ +.TH Enable_X11_Numlock "9 Jan 2001" "Linux Mandrake Manual" +.SH NAME +enable_X11_numlock \- Enable X11 numlock +.SH SYNOPSIS +.BI enable_X11_numlock +[on] +[off] +[switch] +.SH DESCRIPTION +The command +.B enable_X11_numlock +turns on, off, or switches the numlock under X. Default behaviour (e.g. +when no option is given) is to turn it on. + +.SH "SEE ALSO" + +.BR X (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 2.0-2mdk -- cgit v1.2.1