[cvs] / xvidcore / doc / Makefile Repository:
ViewVC logotype

Annotation of /xvidcore/doc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (view) (download)

1 : edgomez 1.1 ##############################################################################
2 :     #
3 :     # Makefile to generate doc from doxygen comments included in code
4 :     #
5 :     # NB : It's a dumbass makefile, i'm not proud of it, but it does the job if
6 :     # you have doxygen and tetex installed. These 2 programs are commonly
7 :     # available on *nix systems and cygwin. Sorry no real Win32 support.
8 :     # Custom headers/footers/author/latex packages are used and/or generated
9 :     # on the fly.
10 :     #
11 :     # Author : Edouard Gomez <ed.gomez at wanadoo dot fr>
12 :     #
13 :     ##############################################################################
14 :    
15 :     DATE=${shell date +"%Y-%m-%d"}
16 :    
17 :     all: API
18 :    
19 :     .PHONY: clean-build clean API
20 :    
21 :     API: API.dox foot.inc header.tex
22 :     doxygen API.dox && \
23 :     cd latex && \
24 :     cat doxygen.sty | sed 's/Generated.*Doxygen/XviD API reference/' > tmp.sty && \
25 :     mv tmp.sty doxygen.sty && \
26 :     make && \
27 :     cd .. && \
28 :     mv latex/refman.pdf ./xvid-api-ref.pdf && \
29 :     cp -R html xvid-api-ref && \
30 :     make clean-build
31 :    
32 :     foot.inc:
33 :     cat foot.inc.in | sed 's/@DATE@/${DATE}/' > foot.inc
34 :    
35 :     header.tex:
36 :     cat header.tex.in | sed 's/@DATE@/${DATE}/' > header.tex
37 :    
38 :     clean-build:
39 :     rm -rf html latex foot.inc header.tex
40 :    
41 :     clean: clean-build
42 :     rm -rf xvid-api-ref.pdf xvid-api-ref

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4