source: 3DVCSoftware/branches/HTM-DEV-0.1-dev/doc/Makefile @ 406

Last change on this file since 406 was 324, checked in by tech, 12 years ago

Initial development version for update to latest HM version.
Includes MV-HEVC and basic extensions for 3D-HEVC.

  • Property svn:eol-style set to native
File size: 869 bytes
Line 
1SHELL=/bin/bash
2
3DOCNUM:=software-manual
4
5LATEX:=$(shell which xelatex || which pdflatex || which latex)
6BIBTOOL:=$(shell which bibtool || echo \\\# skipping bibtool )
7BIBTOOL_DB=~/mpeg/doc/bib/jctvc.bib
8
9all: $(DOCNUM).pdf
10
11%.aux: %.tex
12        $(LATEX) $(LATEXFLAGS) $<
13
14%.bib: %.tex %.aux
15        $(BIBTOOL) -q -s -d -r <(echo check.double.delete = ON) -i $(BIBTOOL_DB) -x $(*F).aux -o $@
16        touch $@
17
18%.bbl: %.tex %.aux %.bib
19        -bibtex $(*F)
20
21ifneq ($(LATEX),latex)
22%.pdf: %.tex %.bbl
23        $(LATEX) $(LATEXFLAGS) $<
24        $(LATEX) $(LATEXFLAGS) $<
25endif
26
27%.pdf: %.dvi
28        dvipdfm $*.dvi
29
30%.dvi: %.tex %.bbl
31        $(LATEX) $(LATEXFLAGS) $<
32        $(LATEX) $(LATEXFLAGS) $<
33
34$(DOCNUM)-diff_%.pdf: LATEXFLAGS=--interaction=batchmode
35$(DOCNUM)-diff_%.tex:
36        -latexdiff-vc --exclude-safecmd=textbf --append-context1cmd=subfloat --append-context2cmd=multicolumn --encoding=utf8 --force --git -r $* $(DOCNUM).tex
Note: See TracBrowser for help on using the repository browser.