tex-framework/Makefile
2015-10-09 15:29:33 +02:00

26 lines
428 B
Makefile

MAIN := framework.pdf
SRC := config/$(basename $(MAIN)).tex
DEP := \
config/headfoot.tex \
config/sourcelst.tex \
config/titlepage.tex \
content.tex \
Makefile
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)