Blame view

Makefile 1.45 KB
30a06bd2a   jfriedt   initial commit: I...
1
2
3
4
5
  # source: https://tex.stackexchange.com/questions/40738/how-to-properly-make-a-latex-project
  
  TEX = pdflatex -shell-escape -interaction=nonstopmode -file-line-error
  BIB = bibtex
  TARGET = ifcs2018
27f5f4108   Arthur HUGEAT   Article étendu.
6
  all: $(TARGET)_abstract $(TARGET)_poster $(TARGET)_proceeding $(TARGET)_journal
30a06bd2a   jfriedt   initial commit: I...
7

d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
8
  view: $(TARGET)
30a06bd2a   jfriedt   initial commit: I...
9
  	evince $(TARGET).pdf
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
10
11
  view_poster: $(TARGET)_poster
  	evince $(TARGET)_poster.pdf
6dfba800f   jfriedt   complement a la p...
12
  $(TARGET)_abstract: $(TARGET)_abstract.tex references.bib biblio.bib
7fcf1da2a   Arthur HUGEAT   ajout de la versi...
13
14
15
16
  	$(TEX) $@.tex
  	$(BIB) $@
  	$(TEX) $@.tex
  	$(TEX) $@.tex
30a06bd2a   jfriedt   initial commit: I...
17

d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
18
19
20
  $(TARGET)_poster:
  	$(TEX) $@.tex
  	$(TEX) $@.tex
6dfba800f   jfriedt   complement a la p...
21
  $(TARGET)_proceeding: $(TARGET)_proceeding.tex references.bib biblio.bib
7fcf1da2a   Arthur HUGEAT   ajout de la versi...
22
23
24
25
  	$(TEX) $@.tex
  	$(BIB) $@
  	$(TEX) $@.tex
  	$(TEX) $@.tex
27f5f4108   Arthur HUGEAT   Article étendu.
26
27
28
29
30
  $(TARGET)_journal: $(TARGET)_journal.tex references.bib biblio.bib
  	$(TEX) $@.tex
  	$(BIB) $@
  	$(TEX) $@.tex
  	$(TEX) $@.tex
b43d41ac2   Arthur HUGEAT   Première partie d...
31
32
33
  $(TARGET)_journal_reponse: $(TARGET)_journal_reponse.tex references.bib biblio.bib
  	$(TEX) $@.tex
  	$(TEX) $@.tex
30a06bd2a   jfriedt   initial commit: I...
34
  clean:
27f5f4108   Arthur HUGEAT   Article étendu.
35
  	rm -f $(TARGET)_abstract.aux $(TARGET)_abstract.log $(TARGET)_abstract.out $(TARGET)_abstract.bbl $(TARGET)_abstract.blg
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
36
  	rm -f $(TARGET)_poster.aux $(TARGET)_poster.log $(TARGET)_poster.out
27f5f4108   Arthur HUGEAT   Article étendu.
37
38
  	rm -f $(TARGET)_proceeding.aux $(TARGET)_proceeding.log $(TARGET)_proceeding.out $(TARGET)_proceeding.bbl $(TARGET)_proceeding.blg
  	rm -f $(TARGET)_journal.aux $(TARGET)_journal.log $(TARGET)_journal.out $(TARGET)_journal.bbl $(TARGET)_journal.blg
30a06bd2a   jfriedt   initial commit: I...
39
40
  
  mrproper: clean
27f5f4108   Arthur HUGEAT   Article étendu.
41
  	rm -f $(TARGET)_abstract.pdf $(TARGET)_proceeding.pdf $(TARGET)_poster.pdf $(TARGET)_journal.pdf