mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-27 15:33:55 +01:00
textest.mk: Add textest.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1ae5402c87
commit
858753a86e
1 changed files with 18 additions and 0 deletions
18
make/textest.mk
Normal file
18
make/textest.mk
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
SOURCES = $(wildcard *.tex)
|
||||||
|
PDF_VIEWER ?= okular
|
||||||
|
|
||||||
|
all: build.done
|
||||||
|
clean: clean.files
|
||||||
|
install:
|
||||||
|
distclean:
|
||||||
|
|
||||||
|
view: build.done
|
||||||
|
$(PDF_VIEWER) main.pdf
|
||||||
|
|
||||||
|
build.done: $(SOURCES)
|
||||||
|
pdflatex main.tex
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
clean.files:
|
||||||
|
rm -rf *.aux *.log *.pdf *.done
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue