tex-framework/Makefile
2016-04-28 14:56:14 +02:00

27 lines
440 B
Makefile

MAIN := framework.pdf
SRC := config/$(basename $(MAIN)).tex
DEP := \
config/headfoot.tex \
config/sourcelst.tex \
config/titlepage.tex \
Makefile
DEP += $(wildcard ./*.tex)
all: $(MAIN)
clean:
rm -f \
$(basename $(MAIN)).aux \
$(basename $(MAIN)).dvi \
$(basename $(MAIN)).log \
$(basename $(MAIN)).out \
$(basename $(MAIN)).toc \
$(MAIN)
$(MAIN): $(DEP)
@latex $(SRC)
latex $(SRC)
dvipdf $(basename $(MAIN)).dvi $(MAIN)