Changeset 70


Ignore:
Timestamp:
03/10/10 12:24:38 (14 years ago)
Author:
pinsard
Message:

add man troff output of manuals and some light modification in sources due to docutils upgrade (0.6); warning : new troubles with target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/adm/makefile

    r68 r70  
    1919# 
    2020# $Id$ 
     21# 
     22# - fplod 20100310T111645Z aedon.locean-ipsl.upmc.fr (Darwin) 
     23# 
     24#   * add man_troff possible now with docutils 0.6 
     25#     can be test with 
     26#      $ man -M ../doc//manuals/man ircaam_profile.sh 
    2127# 
    2228# - fplod 2009-05-13T12:48:45Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    119125        sed -e "s+$(DIRSRC)+$(DIRTMP)+g" \ 
    120126            -e "s+\.sh+.sh.rst+g") 
     127 
     128LIST_SRCSH_TROFF = \ 
     129$(shell echo "$(LIST_SRCSH)" | \ 
     130        sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/man/man1/+g" \ 
     131            -e "s+\.sh+.sh.1+g") 
    121132 
    122133LIST_SRCSH_HTML = \ 
     
    203214            -e "s+\.f+.f.pdf+g") 
    204215 
     216RST2MAN = \ 
     217rst2man.py 
    205218 
    206219RST2HTML = \ 
     
    234247spellcheck \ 
    235248all \ 
     249man_troff \ 
    236250man_html \ 
    237251man_html_one \ 
     
    259273 
    260274before : 
     275        @mkdir -p $(DIRWWW)/manuals/man/man1/ 
    261276        @mkdir -p $(DIRWWW)/manuals/html/one/ 
    262277        @mkdir -p $(DIRWWW)/manuals/html/many/ 
     
    276291clean : \ 
    277292cleantmp 
     293        -@rm -fr $(DIRWWW)/manuals/man/ 
    278294        -@rm -fr $(DIRWWW)/manuals/html/ 
    279295        -@rm -fr $(DIRWWW)/manuals/pdf/ 
     
    308324 
    309325all : \ 
     326man_troff \ 
    310327man_html \ 
    311328man_pdf 
     329 
     330man_troff : \ 
     331$(LIST_SRCSH_TROFF) 
    312332 
    313333man_html : \ 
     
    454474        @echo " " >> $@ 
    455475 
     476$(DIRWWW)/manuals/man/man1/%.1:$(DIRTMP)/%.rst 
     477        @$(RST2MAN) --input-encoding=ISO-8859-15 --strict \ 
     478        $< $@ 
     479 
    456480$(DIRWWW)/manuals/html/many/%.html:$(DIRTMP)/%.rst 
    457481        @$(RST2HTML) --input-encoding=ISO-8859-15 --strict \ 
Note: See TracChangeset for help on using the changeset viewer.