tex-framework/Makefile
2016-12-13 14:24:54 +01:00

33 lines
612 B
Makefile

MAIN := framework.pdf
SRC := config/$(basename $(MAIN)).tex
DEP := \
config/headfoot.tex \
config/sourcelst.tex \
content.tex \
gitlab-runner.tex \
title.tex \
Makefile
all: $(MAIN)
one_page: $(DEP)
@latex config/framework_one_page.tex
latex config/framework_one_page.tex
dvipdf framework_one_page.dvi framework_one_page.pdf
clean:
rm -f \
$(basename $(MAIN)).aux \
$(basename $(MAIN)).dvi \
$(basename $(MAIN)).log \
$(basename $(MAIN)).out \
$(basename $(MAIN)).toc \
$(MAIN) \
framework_one_page.*
$(MAIN): $(DEP)
@latex $(SRC)
latex $(SRC)
dvipdf $(basename $(MAIN)).dvi $(MAIN)