tex-framework/Makefile

33 lines
612 B
Makefile
Raw Normal View History

2015-06-25 08:18:01 +00:00
MAIN := framework.pdf
2015-10-09 13:29:33 +00:00
SRC := config/$(basename $(MAIN)).tex
2015-06-25 08:18:01 +00:00
DEP := \
config/headfoot.tex \
config/sourcelst.tex \
2015-06-25 08:39:48 +00:00
content.tex \
gitlab-runner.tex \
title.tex \
2015-06-25 08:18:01 +00:00
Makefile
2015-10-09 13:06:37 +00:00
all: $(MAIN)
2015-06-25 08:18:01 +00:00
2016-05-17 08:32:51 +00:00
one_page: $(DEP)
@latex config/framework_one_page.tex
latex config/framework_one_page.tex
dvipdf framework_one_page.dvi framework_one_page.pdf
2015-06-25 08:18:01 +00:00
clean:
rm -f \
$(basename $(MAIN)).aux \
$(basename $(MAIN)).dvi \
$(basename $(MAIN)).log \
$(basename $(MAIN)).out \
$(basename $(MAIN)).toc \
2016-05-17 08:32:51 +00:00
$(MAIN) \
framework_one_page.*
2015-06-25 08:18:01 +00:00
2015-10-09 13:06:37 +00:00
$(MAIN): $(DEP)
2015-06-25 08:18:01 +00:00
@latex $(SRC)
latex $(SRC)
dvipdf $(basename $(MAIN)).dvi $(MAIN)