tex-framework/Makefile
2015-10-09 15:06:37 +02:00

26 lines
421 B
Makefile

MAIN := framework.pdf
SRC := $(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)