Show
Ignore:
Timestamp:
11/29/07 00:14:47 (16 years ago)
Author:
jerome
Message:

Fixed the generation of the manual page to accomodate Debian packaging standard.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/man/genman.sh

    r463 r531  
    33# pkpgcounter : a generic Page Description Language parser. 
    44# 
    5 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
     5# (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet <alet@librelogiciel.com> 
    66# This program is free software: you can redistribute it and/or modify 
    77# it under the terms of the GNU General Public License as published by 
     
    2020# 
    2121for prog in pkpgcounter ; do  
    22     echo $prog ; 
    23     help2man --no-info --section=1 --manual "User Commands" --source="C@LL - Conseil Internet & Logiciels Libres" --output=$prog.1 $prog ;  
     22    echo "$prog" ; 
     23    help2man --no-info \ 
     24             --section=1 \ 
     25             --name="count number of pages required to print various types of documents" \ 
     26             --manual="User Commands" \ 
     27             --source="C@LL - Conseil Internet & Logiciels Libres" \ 
     28             --output="temp$prog.1" \ 
     29             $prog ;  
     30    /bin/sed -e "s/--/\\\-\\\-/g" <"temp$prog.1" >"$prog.1" ; 
     31    /bin/rm -f "temp$prog.1" 
    2432    echo ; 
    2533done