Changeset 3621

Show
Ignore:
Timestamp:
10/23/07 00:27:36 (1 year ago)
Author:
tg
Message:

call it htman not htm, looks nicer to people who else would wonder

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/pkg-bottom.mk

    r3619 r3621  
    237237        done 
    238238ifeq (${FWRT_MANPAGES},y) 
    239         cd ${WRKDIR}/wman; pax -rw htm ${BIN_DIR}/ 
     239        cd ${WRKDIR}/wman; pax -rw htman ${BIN_DIR}/ 
    240240endif 
    241241        touch ${_IPKGS_COOKIE} 
  • trunk/freewrt/scripts/genhtman.sh

    r3619 r3621  
    3232 
    3333rm -rf $dd 
    34 mkdir -p $dd/{{man,cat}{1,2,3,3p,4,5,6,7,8,9},htm/pkgs} 
     34mkdir -p $dd/{{man,cat}{1,2,3,3p,4,5,6,7,8,9},htman/pkgs} 
    3535# copy over manual pages (source and catman): ordinary files and hardlinks 
    3636find $sd -type f -a \( -path \*/man\* -o -path \*/cat\* \) | while read f; do 
     
    176176 
    177177# convert all catman pages to HTML 
    178 cd $dd; convert_all . ./htm 
     178cd $dd; convert_all . ./htman 
    179179 
    180180# generate an index page for the package 
     
    184184        print "<h1>FreeWRT $3 package manual</h1> 
    185185<p>The $3 package comes with the following manual pages:</p><ul>" 
    186         (cd $dd/htm; find man* -name \*.htm) | sort -f | while read file; do 
     186        (cd $dd/htman; find man* -name \*.htm) | sort -f | while read file; do 
    187187                bn=${file%.htm} 
    188188                sect=${file#man} 
     
    193193        output_footer | \ 
    194194            sed -e '/<tt>/s</tt>& and <tt>$Id$&' 
    195 } >$dd/htm/pkgs/$3.htm 
     195} >$dd/htman/pkgs/$3.htm 
    196196 
    197197exit 0