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

View of /xvidcore/doc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (annotate)
Sat Dec 28 13:53:08 2002 UTC (21 years, 3 months ago) by edgomez
Branch: MAIN
CVS Tags: release-0_9_1, release-0_9_2, cvs-head, merged-dev-api-3, tag-merging-20040322
Branch point for: branch-release-1-0, dev-api-4, Isibaar, release-0_9_1-fixes
Changes since 1.1: +1 -1 lines
Changed my email
##############################################################################
#
# 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@free.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