[svn] / branches / dev-api-3 / xvidcore / doc / Makefile Repository:
ViewVC logotype

View of /branches/dev-api-3/xvidcore/doc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 683 - (download) (annotate)
Wed Nov 27 21:08:35 2002 UTC (21 years, 4 months ago)
File size: 1225 byte(s)
This commit was manufactured by cvs2svn to create branch 'dev-api-3'.
##############################################################################
#
# Makefile to generate doc from doxygen comments included in code
#
# NB : It's a dumbass makefile, i'm not proud of it, but it does the job if
#      you have doxygen and tetex installed. These 2 programs are commonly
#      available on *nix systems and cygwin. Sorry no real Win32 support.
#      Custom headers/footers/author/latex packages are used and/or generated
#      on the fly.
#
# Author : Edouard Gomez <ed.gomez at wanadoo dot fr>
#
##############################################################################

DATE=${shell date +"%Y-%m-%d"}

all: API

.PHONY: clean-build clean API

API: API.dox foot.inc header.tex
	doxygen API.dox && \
	cd latex && \
	cat doxygen.sty | sed 's/Generated.*Doxygen/XviD API reference/' > tmp.sty && \
	mv tmp.sty doxygen.sty && \
	make && \
	cd .. && \
	mv latex/refman.pdf ./xvid-api-ref.pdf && \
	cp -R html xvid-api-ref && \
	make clean-build

foot.inc:
	cat foot.inc.in | sed 's/@DATE@/${DATE}/' > foot.inc

header.tex:
	cat header.tex.in | sed 's/@DATE@/${DATE}/' > header.tex

clean-build:
	rm -rf html latex foot.inc header.tex

clean: clean-build
	rm -rf xvid-api-ref.pdf xvid-api-ref

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