goa/doc/devmanual_fr/makefile
changeset 6366 1806148d6ce8
parent 6333 e3994fcc21c3
parent 6365 a15cc5e16178
child 6367 d4c485ec1ca1
equal deleted inserted replaced
6333:e3994fcc21c3 6366:1806148d6ce8
     1 MKHTMLOPTS=--doctype book --param toc.section.depth=1  --target html --stylesheet single-file
       
     2 SRC=.
       
     3 
       
     4 MKPDFOPTS=--doctype book --param toc.section.depth=2  --target pdf --stylesheet standard
       
     5 
       
     6 TXTFILES:= $(wildcard *.txt)
       
     7 TARGET := $(TXTFILES:.txt=.html)
       
     8 
       
     9 all: index.html
       
    10 
       
    11 index.html: *.txt
       
    12 	mkdoc ${MKHTMLOPTS} index.txt
       
    13 
       
    14 index.pdf: *.txt
       
    15 	mkdoc ${MKPDFOPTS} index.txt
       
    16 
       
    17 %.html: %.txt
       
    18 	mkdoc ${MKHTMLOPTS} $<
       
    19 
       
    20 clean:
       
    21 	rm -f *.html