Changeset 5654

Show
Ignore:
Timestamp:
11/01/09 15:58:14 (3 weeks ago)
Author:
balaji
Message:

Fix the man page generation in mpd. Thanks to Lucas Nussbaum for
reporting it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/src/pm/mpd/Makefile.in

    r5167 r5654  
    247247htmldoc: 
    248248latexdoc: 
    249 mandoc: 
    250 # Empty tags targets (MPICH2 wants this target) 
    251249tags: TAGS 
    252250TAGS: 
     
    256254 
    257255# EXPERIMENTAL MAN STUFF 
    258 man: 
     256mandoc: 
    259257        -@for cmd in ${PYTHON_SOURCE} ; do \ 
    260             currdir=`pwd` ; cd ${srcdir} &&  pydoc $$cmd | txt2man -t $$cmd -s 1 -v "mpd cmds" | awk ' !/Help on module/ { print } ' > $$currdir/$$cmd.1 ; \ 
     258            cd ${srcdir} &&  pydoc $$cmd | txt2man -t $$cmd -s 1 -v "mpd cmds" | awk ' !/Help on module/ { print } ' > ../../../man/man1/$$cmd.1 ; \ 
    261259        done 
    262260# (Note to makefile maintainers: not all make programs accept comments in 
     
    267265install-man: 
    268266        -@for cmd in ${PYTHON_SOURCE} ; do \ 
    269                 ${INSTALL} -m 644 $$cmd.1 $(DESTDIR)${mandir}/$$cmd.1 ; \ 
    270         done 
     267                ${INSTALL} -m 644 $$cmd.1 $(DESTDIR)${mandir}/man1/$$cmd.1 ; \ 
     268        done