Revision 3487, 2.0 kB
(checked in by jerome, 16 years ago)
|
Changed copyright years.
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | # |
---|
3 | # PyKota - Print Quotas for CUPS |
---|
4 | # |
---|
5 | # (c) 2003-2009 Jerome Alet <alet@librelogiciel.com> |
---|
6 | # This program is free software: you can redistribute it and/or modify |
---|
7 | # it under the terms of the GNU General Public License as published by |
---|
8 | # the Free Software Foundation, either version 3 of the License, or |
---|
9 | # (at your option) any later version. |
---|
10 | # |
---|
11 | # This program is distributed in the hope that it will be useful, |
---|
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | # GNU General Public License for more details. |
---|
15 | # |
---|
16 | # You should have received a copy of the GNU General Public License |
---|
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
18 | # |
---|
19 | # $Id$ |
---|
20 | # |
---|
21 | for prog in pksetup \ |
---|
22 | pkrefund \ |
---|
23 | pknotify \ |
---|
24 | pkusers \ |
---|
25 | pkinvoice \ |
---|
26 | pkturnkey \ |
---|
27 | pkbcodes \ |
---|
28 | pkbanner \ |
---|
29 | autopykota \ |
---|
30 | dumpykota \ |
---|
31 | edpykota \ |
---|
32 | pykotme \ |
---|
33 | repykota \ |
---|
34 | warnpykota \ |
---|
35 | pkprinters \ |
---|
36 | pykosd ; do |
---|
37 | echo "$prog" ; |
---|
38 | help2man --no-info \ |
---|
39 | --section=1 \ |
---|
40 | --manual="User Commands" \ |
---|
41 | --source="C@LL - Conseil Internet & Logiciels Libres" \ |
---|
42 | --output="temp$prog.1" \ |
---|
43 | "$prog" ; |
---|
44 | /bin/sed -e "s/--/\\\-\\\-/g" <"temp$prog.1" >"$prog.1" ; |
---|
45 | /bin/rm -f "temp$prog.1" |
---|
46 | cd ../po ; |
---|
47 | for dir in * ; do |
---|
48 | if [ -d $dir ] ; then |
---|
49 | if [ -e $dir/pykota.po ] ; then |
---|
50 | echo " $dir" ; |
---|
51 | cd ../man/$dir ; |
---|
52 | help2man --no-info \ |
---|
53 | --locale=$dir \ |
---|
54 | --section=1 \ |
---|
55 | --manual="User Commands" \ |
---|
56 | --source="C@LL - Conseil Internet & Logiciels Libres" \ |
---|
57 | --output="temp$prog.1" \ |
---|
58 | "$prog" ; |
---|
59 | /bin/sed -e "s/--/\\\-\\\-/g" <"temp$prog.1" >"$prog.1" ; |
---|
60 | /bin/rm -f "temp$prog.1" |
---|
61 | cd ../../po ; |
---|
62 | fi ; |
---|
63 | fi ; |
---|
64 | done |
---|
65 | cd ../man ; |
---|
66 | echo ; |
---|
67 | done |
---|