mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-12-26 23:13:31 +01:00
Extended Makefile
This commit is contained in:
parent
9b42271b2f
commit
2d78877b53
2 changed files with 10 additions and 11 deletions
|
@ -1,24 +1,24 @@
|
|||
# vim:ft=make
|
||||
-include config.mk
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
.PHONY: all clean dist-clean
|
||||
|
||||
### Variables
|
||||
|
||||
MAIN_SRC ?= main.tex
|
||||
TEXENGINE ?= pdflatex
|
||||
TEXENGINE ?= latexmk --pdf
|
||||
|
||||
MAIN_TARGET = $(patsubst %.tex,%.pdf,$(MAIN_SRC))
|
||||
|
||||
### Targets
|
||||
|
||||
MAIN_TARGET=$(patsubst %.tex,%.pdf,$(MAIN_SRC))
|
||||
|
||||
all: $(MAIN_TARGET)
|
||||
|
||||
dist: all clean
|
||||
|
||||
$(MAIN_TARGET): $(MAIN_SRC)
|
||||
$(TEXENGINE) $^
|
||||
$(TEXENGINE) $^
|
||||
|
||||
dist-clean: clean
|
||||
@rm -vf *.pdf *.eps *.dvi *.ps
|
||||
|
||||
clean:
|
||||
@rm -f *.dat *.log *.out *.aux *.dvi *.ps *.nav *.snm *.toc *.vrb *~
|
||||
@rm -f *.pdf *.eps
|
||||
@rm -vf *.dat *.log *.out *.aux *.nav *.snm *.toc *.vrb *~ *.fls *.fdb_latexmk
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
MAIN_SRC=2022-02-03_group_meeting.tex
|
||||
TEXENGINE=pdflatex
|
||||
|
|
Loading…
Reference in a new issue