Last change
on this file since 156 was
51,
checked in by suehring, 12 years ago
|
import HM 10.0 (HEVCSoftware/trunk rev. 3352)
|
File size:
869 bytes
|
Line | |
---|
1 | SHELL=/bin/bash |
---|
2 | |
---|
3 | DOCNUM:=software-manual |
---|
4 | |
---|
5 | LATEX:=$(shell which xelatex || which pdflatex || which latex) |
---|
6 | BIBTOOL:=$(shell which bibtool || echo \\\# skipping bibtool ) |
---|
7 | BIBTOOL_DB=~/mpeg/doc/bib/jctvc.bib |
---|
8 | |
---|
9 | all: $(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 | |
---|
21 | ifneq ($(LATEX),latex) |
---|
22 | %.pdf: %.tex %.bbl |
---|
23 | $(LATEX) $(LATEXFLAGS) $< |
---|
24 | $(LATEX) $(LATEXFLAGS) $< |
---|
25 | endif |
---|
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.